- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Resource (0.15 sec)
-
tensorflow/c/c_api.cc
*dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape()); if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString( string(static_cast<const char*>(tensor_interface->Data()), tensor_interface->ByteSize()))) { return InvalidArgument( "Malformed TF_RESOURCE tensor: unable to parse resource handle"); } return absl::OkStatus(); } return absl::OkStatus(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
TF_ShapeAndTypeList* input_tensors_as_shapes, TF_ShapeAndTypeList** input_resource_shapes_and_types, TF_ShapeAndTypeList** output_shapes, TF_ShapeAndTypeList*** output_resource_shapes_and_types, TF_Status* status) { using tensorflow::NodeDef; using tensorflow::OpRegistrationData;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_TString_Init(&data[i]); // The following input string length is large enough to make sure that // copy to tstring in large mode. std::string source = "This is the " + std::to_string(i + 1) + "th. data element\n"; TF_TString_Copy(&data[i], source.c_str(), source.length()); } TF_DeleteTensor(t); } } // namespace } // namespace tensorflow // TODO(josh11b): Test:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)