- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetTensor (0.07 sec)
-
tensorflow/c/checkpoint_reader.cc
if (reader_ != nullptr) return reader_->DebugString(); return v2_reader_->DebugString(); } void CheckpointReader::GetTensor( const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const { absl::Status status; if (reader_ != nullptr) { status = reader_->GetTensor(name, out_tensor); } else { tensorflow::DataType dtype; tensorflow::TensorShape shape;
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Nov 08 06:24:11 UTC 2025 - 5.4K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
const TensorSliceReader::VarToDataTypeMap& GetVariableToDataTypeMap() const; // Attempts to look up the tensor named "name" and stores the found result in // "out_tensor". void GetTensor(const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const; private: // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} TF_Tensor* TF_CheckpointReaderGetTensor(TF_CheckpointReader* reader, const char* name, TF_Status* status) { 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,
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0)