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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Tensor\n\nA tensor value type.\nFields `dtype` `enum (`[DataType](/vertex-ai/docs/reference/rest/v1/Tensor#DataType)`)` \nThe data type of tensor.\n`shape[]` `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` \nShape of the tensor.\n`boolVal[]` `boolean` \ntype 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.\n\n[BOOL](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.BOOL)\n`stringVal[]` `string` \n[STRING](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.STRING)\n`bytesVal[]` `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` \n[STRING](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.STRING)\n\nA base64-encoded string.\n`floatVal[]` `number` \n[FLOAT](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.FLOAT)\n`doubleVal[]` `number` \n[DOUBLE](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.DOUBLE)\n`intVal[]` `integer` \n[INT_8](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.INT8) [INT_16](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.INT16) [INT_32](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.INT32)\n`int64Val[]` `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` \n[INT64](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.INT64)\n`uintVal[]` `integer (`[uint32](https://developers.google.com/discovery/v1/type-format)` format)` \n[UINT8](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.UINT8) [UINT16](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.UINT16) [UINT32](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.UINT32)\n`uint64Val[]` `string` \n[UINT64](/vertex-ai/docs/reference/rest/v1/Tensor#DataType.ENUM_VALUES.UINT64)\n`listVal[]` `object (`[Tensor](/vertex-ai/docs/reference/rest/v1/Tensor)`)` \nA list of tensor values.\n`structVal` `map (key: string, value: object (`[Tensor](/vertex-ai/docs/reference/rest/v1/Tensor)`))` \nA map of string to tensor.\n`tensorVal` `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` \nSerialized raw tensor content.\n\nA base64-encoded string. \n\nDataType\n--------\n\ndata type of the tensor."]]