- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for HasTensor (0.04 sec)
-
tensorflow/c/checkpoint_reader.cc
var_to_data_type_map_.reset(new TensorSliceReader::VarToDataTypeMap( reader_->GetVariableToDataTypeMap())); } } bool CheckpointReader::HasTensor(const string& name) const { if (reader_ != nullptr) { return reader_->HasTensor(name, nullptr, nullptr); } return v2_reader_->Contains(name); } const TensorSliceReader::VarToShapeMap& CheckpointReader::GetVariableToShapeMap() const {
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
// // The class currently only interacts with single-slice (i.e., non-partitioned) // variables. class CheckpointReader { public: CheckpointReader(const string& filename, TF_Status* status); bool HasTensor(const string& name) const; const string DebugString() const; // Returns a map from variable names to their shapes. Slices of a partitioned // tensor are combined into a single entry.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
} void TF_DeleteCheckpointReader(TF_CheckpointReader* reader) { delete reader; } int TF_CheckpointReaderHasTensor(TF_CheckpointReader* reader, const char* name) { return reader->HasTensor(name); } const char* TF_CheckpointReaderGetVariable(TF_CheckpointReader* reader, int index) { return reader->variable_list[index].c_str(); }
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 29.4K bytes - Viewed (0)