View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor (google_api_ai_platform v0.13.0)
A tensor value type.
Attributes
-
boolVal
(type:list(boolean())
, default:nil
) - Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. BOOL -
bytesVal
(type:list(String.t)
, default:nil
) - STRING -
doubleVal
(type:list(float())
, default:nil
) - DOUBLE -
dtype
(type:String.t
, default:nil
) - The data type of tensor. -
floatVal
(type:list(number())
, default:nil
) - FLOAT -
int64Val
(type:list(String.t)
, default:nil
) - INT64 -
intVal
(type:list(integer())
, default:nil
) - INT_8 INT_16 INT_32 -
listVal
(type:list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t)
, default:nil
) - A list of tensor values. -
shape
(type:list(String.t)
, default:nil
) - Shape of the tensor. -
stringVal
(type:list(String.t)
, default:nil
) - STRING -
structVal
(type:%{optional(String.t) => GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor.t}
, default:nil
) - A map of string to tensor. -
tensorVal
(type:String.t
, default:nil
) - Serialized raw tensor content. -
uint64Val
(type:list(String.t)
, default:nil
) - UINT64 -
uintVal
(type:list(integer())
, default:nil
) - UINT8 UINT16 UINT32
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1Tensor{ boolVal: [boolean()] | nil, bytesVal: [String.t()] | nil, doubleVal: [float()] | nil, dtype: String.t() | nil, floatVal: [number()] | nil, int64Val: [String.t()] | nil, intVal: [integer()] | nil, listVal: [t()] | nil, shape: [String.t()] | nil, stringVal: [String.t()] | nil, structVal: %{optional(String.t()) => t()} | nil, tensorVal: String.t() | nil, uint64Val: [String.t()] | nil, uintVal: [integer()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.