Struct Model.Input
Input data structure
Namespace: Unity.Barracuda
Syntax
public struct Input
Fields
name
Name
Declaration
public string name
Field Value
| Type | Description |
|---|---|
| String |
rank
Input rank
Declaration
public int rank
Field Value
| Type | Description |
|---|---|
| Int32 |
shape
Shape as int array
Declaration
public Int32[] shape
Field Value
| Type | Description |
|---|---|
| Int32[] |
Methods
WithName(String)
Creates input structure with specified name
Declaration
public Model.Input WithName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | name |
Returns
| Type | Description |
|---|---|
| Model.Input | Input structure |