Contains operations relating to converting .NET data to tensor data.
Function or value | Description |
Full Usage:
dataOfValues ofFloat32 ofFloat64 ofInt8 ofInt16 ofInt32 ofInt64 ofBool ofByte value
Parameters:
float32 -> ^T
ofFloat64 : double -> ^T
ofInt8 : int8 -> ^T
ofInt16 : int16 -> ^T
ofInt32 : int32 -> ^T
ofInt64 : int64 -> ^T
ofBool : bool -> ^T
ofByte : byte -> ^T
value : obj
Returns: ^T[] * int[]
Modifiers: inline Type parameters: ^T |
|
Full Usage:
dataOfValuesForBool value
Parameters:
obj
Returns: bool[] * int[]
|
|
Full Usage:
dataOfValuesForByte value
Parameters:
obj
Returns: byte[] * int[]
|
|
Full Usage:
dataOfValuesForFloat32 value
Parameters:
obj
Returns: float32[] * int[]
|
|
Full Usage:
dataOfValuesForFloat64 value
Parameters:
obj
Returns: double[] * int[]
|
|
Full Usage:
dataOfValuesForInt16 value
Parameters:
obj
Returns: int16[] * int[]
|
|
Full Usage:
dataOfValuesForInt32 value
Parameters:
obj
Returns: int32[] * int[]
|
|
Full Usage:
dataOfValuesForInt64 value
Parameters:
obj
Returns: int64[] * int[]
|
|
Full Usage:
dataOfValuesForInt8 value
Parameters:
obj
Returns: int8[] * int[]
|
|
|
|
Full Usage:
tryFlatArrayAndShape value
Parameters:
obj
Returns: ('T[] * int[]) option
|
|
|
|
© Copyright 2021, DiffSharp Contributors.