Class Pipeline.NodeInfo
Definition
- Namespace:
- Tizen.MachineLearning.Inference
- Assembly:
- Tizen.MachineLearning.Inference.dll
- API Level:
- 8
NodeInfo class for node information in pipeline. Note that, node is depend on the pipeline. If the pipeline is closed, all the node information is invalid.
public abstract class NodeInfo
- Inheritance
-
Pipeline.NodeInfo
- Derived
Constructors
View SourceNodeInfo(Pipeline.NodeType, String, Pipeline)
Creates a new NodeInfo instance with the given node information
Declaration
protected NodeInfo(Pipeline.NodeType type, string name, Pipeline pipe)
Parameters
Type | Name | Description |
---|---|---|
Pipeline.NodeType | type | The node type. |
String | name | The node name. |
Pipeline | pipe | The Pipeline instance the node included. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
Properties
View SourceName
The node name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
API Level: 8
View SourceType
The node type.
Declaration
public Pipeline.NodeType Type { get; }
Property Value
Type | Description |
---|---|
Pipeline.NodeType |
API Level: 8
View SourceValid
The flag to indicate valid state.
Declaration
public bool Valid { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 8
Methods
View SourceGetValue(String, out Boolean)
Gets the boolean of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out bool retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Boolean | retValue | On return, a boolean value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out Double)
Gets the floating-point value of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out double retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Double | retValue | On return, a floating-point value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out Int32)
Gets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out int retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Int32 | retValue | On return, a integer value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out Int64)
Gets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out long retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Int64 | retValue | On return, a long integer value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out String)
Gets the string of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out string retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
String | retValue | On return, a string value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out UInt32)
Gets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out uint retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
UInt32 | retValue | On return, a unsigned integer value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue(String, out UInt64)
Gets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.
Declaration
public void GetValue(string propertyName, out ulong retValue)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
UInt64 | retValue | On return, a unsigned long integer value. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceGetValue<T>(String)
Get the value of node's property in NNStreamer pipelines.
Declaration
public T GetValue<T>(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Returns
Type | Description |
---|---|
T | The value of given property. |
Type Parameters
Name | Description |
---|---|
T | The value type of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, Boolean)
Sets the boolean of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, bool value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Boolean | value | The boolean value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, Double)
Gets the floating-point value of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, double value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Double | value | The floating-point value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, Int32)
Sets the integer (i.e. System.Int32) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, int value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Int32 | value | The integer value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, Int64)
Sets the long integer (i.e. System.Int64) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, long value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
Int64 | value | The long integer value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, String)
Sets the string of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, string value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
String | value | The string of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, UInt32)
Sets the unsigned integer (i.e. System.UInt32) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, uint value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
UInt32 | value | The unsigned integer value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |
API Level: 8
Feature: http://tizen.org/feature/machine_learning.inference
View SourceSetValue(String, UInt64)
Sets the unsigned long integer (i.e. System.UInt64) of node's property in NNStreamer pipelines.
Declaration
public void SetValue(string propertyName, ulong value)
Parameters
Type | Name | Description |
---|---|---|
String | propertyName | The property name. |
UInt64 | value | The unsigned long integer value of given property. |
Exceptions
Type | Condition |
---|---|
NotSupportedException | Thrown when the feature is not supported. |
ArgumentException | Thrown when the method failed due to an invalid parameter. |