- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SummarizeValue (0.07 seconds)
-
tensorflow/c/eager/immediate_execution_tensor_handle.cc
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()) { value_string = "<error computing value>"; } if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:24:07 GMT 2024 - 2.1K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// the handle loses information, but `SummarizeValue` would be more precise. virtual bool PreferCustomSummarizer() const { return false; } // Returns a string which summarizes the value of this TensorHandle, for // debugging. Does not include a shape or dtype. // // Included in the default implementation of DebugString. virtual absl::Status SummarizeValue(std::string& summary) const; // For LLVM style RTTI.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 4.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
} bool PreferCustomSummarizer() const override { return methods_.summarize != nullptr; } absl::Status SummarizeValue(std::string& summary) const override { if (methods_.summarize == nullptr) { return tensorflow::CustomDeviceTensorHandle::SummarizeValue(summary); } TF_Status c_status; std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> summary_buffer(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)