- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_TensorFromTensor (0.46 sec)
-
tensorflow/c/c_api_test.cc
#include "tensorflow/core/protobuf/error_codes.pb.h" #include "tensorflow/core/protobuf/meta_graph.pb.h" #include "tensorflow/core/util/equal_graph_def.h" namespace tensorflow { TF_Tensor* TF_TensorFromTensor(const Tensor& src, Status* status); Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst); namespace { static void ExpectHasSubstr(StringPiece s, StringPiece expected) {
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) -
tensorflow/c/c_api.cc
if (!src.IsInitialized() || src.NumElements() == 0) { c_outputs[i] = EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape()); continue; } c_outputs[i] = TF_TensorFromTensor(src, &status->status); if (!status->status.ok()) return; } } extern "C" { void TF_Run(TF_DeprecatedSession* s, const TF_Buffer* run_options, // Input tensors
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
std::unique_ptr<tensorflow::Tensor> tensor; reader->GetTensor(name, &tensor, status); if (!status->status.ok()) return nullptr; return tensorflow::TF_TensorFromTensor(*tensor, &status->status); } void TF_CheckpointReaderGetVariableShape(TF_CheckpointReader* reader, const char* name, int64_t* dims,
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)