- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for debugString (0.06 sec)
-
tensorflow/c/eager/abstract_tensor_handle.cc
#include "tensorflow/c/eager/abstract_tensor_handle.h" namespace tensorflow { std::string AbstractTensorHandle::DebugString() const { PartialTensorShape shape; absl::Status s = Shape(&shape); std::string shape_string; if (!s.ok()) { shape_string = "<error computing shape>"; } else { shape_string = shape.DebugString(); } return absl::StrCat("TensorHandle(shape=", shape_string,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
CheckpointReader::GetVariableToDataTypeMap() const { CHECK(var_to_data_type_map_); return *var_to_data_type_map_; } const string CheckpointReader::DebugString() const { 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 {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
virtual int DeviceId(absl::Status* status) const = 0; // Returns a tensor for the handle. If tensor is remote, it will be copied. virtual AbstractTensorInterface* Resolve(absl::Status* status) = 0; std::string DebugString() const override; // Returns a Boolean hint indicating whether callers should prefer // `SummarizeValue` to resolving this handle and formatting the tensor. //
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.cc
#include "tensorflow/c/eager/immediate_execution_tensor_handle.h" namespace tensorflow { std::string ImmediateExecutionTensorHandle::DebugString() const { PartialTensorShape shape; std::string shape_string; if (Shape(&shape).ok()) { shape_string = shape.DebugString(); } else { shape_string = "<error computing shape>"; } std::string value_string; if (!SummarizeValue(value_string).ok()) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:24:07 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
// 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. const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.h
virtual tensorflow::FullTypeDef FullType() const = 0; // The default debug string includes a shape, dtype and FullType. // Implementations are free to override it with something more informative. virtual std::string DebugString() const; AbstractTensorHandleKind getKind() const { return kind_; } private: const AbstractTensorHandleKind kind_; }; namespace internal { struct AbstractTensorHandleDeleter {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 3K bytes - Viewed (0)