Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::ParseTensor
#include <parsing_ops.h>
Transforms a serialized tensorflow.TensorProto proto into a Tensor.
Summary
Arguments:
- scope: A Scope object
- serialized: A scalar string containing a serialized TensorProto proto.
- out_type: The type of the serialized tensor. The provided type must match the type of the serialized tensor and no implicit conversion will take place.
Returns:
Public attributes
Public functions
node
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::ParseTensor Class Reference\n\ntensorflow::ops::ParseTensor\n============================\n\n`#include \u003cparsing_ops.h\u003e`\n\nTransforms a serialized tensorflow.TensorProto proto into a [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor).\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- serialized: A scalar string containing a serialized TensorProto proto.\n- out_type: The type of the serialized tensor. The provided type must match the type of the serialized tensor and no implicit conversion will take place.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output): A [Tensor](/versions/r1.15/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of type `out_type`.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [ParseTensor](#classtensorflow_1_1ops_1_1_parse_tensor_1a360c456d58375c9e042c8459f8bbe957)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` serialized, DataType out_type)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_parse_tensor_1a1e652fe9fabb9e096c73871885022fd2) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_parse_tensor_1a81b7c4f3bbd232119e50c0ef415c3aea) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------|------------------------|\n| [node](#classtensorflow_1_1ops_1_1_parse_tensor_1afccc539562b57c7ca8dff47b92e2ba2d)`() const ` | `::tensorflow::Node *` |\n| [operator::tensorflow::Input](#classtensorflow_1_1ops_1_1_parse_tensor_1ace22bac1251403dca44a6d8a4e5a4331)`() const ` | ` ` ` ` |\n| [operator::tensorflow::Output](#classtensorflow_1_1ops_1_1_parse_tensor_1abc18a32e825dcb21287920c6701984ca)`() const ` | ` ` ` ` |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### ParseTensor\n\n```gdscript\n ParseTensor(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input serialized,\n DataType out_type\n)\n``` \n\n### node\n\n```gdscript\n::tensorflow::Node * node() const \n``` \n\n### operator::tensorflow::Input\n\n```gdscript\n operator::tensorflow::Input() const \n``` \n\n### operator::tensorflow::Output\n\n```gdscript\n operator::tensorflow::Output() const \n```"]]