- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for debugString (0.15 sec)
-
tensorflow/c/experimental/saved_model/core/signature_flattening_test.cc
<< "Expected " << flattened[0]->DebugString(); EXPECT_TRUE(TensorSpecsAreEqual(*flattened[1], /* expected_name = */ "y", /* expected_shape = */ {1}, /* expected_dtype = */ DT_FLOAT)) << "Expected " << flattened[1]->DebugString(); EXPECT_TRUE(TensorSpecsAreEqual(*flattened[2],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 06 21:36:59 UTC 2020 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/abt/avlint32_test.go
} i = ii return } func (t *T) DebugString() string { if t.root == nil { return "" } return t.root.DebugString(0) } // DebugString prints the tree with nested information // to allow an eyeball check on the tree balance. func (t *node32) DebugString(indent int) string { s := "" if t.left != nil { s = s + t.left.DebugString(indent+1) } for i := 0; i < indent; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 11 16:34:41 UTC 2022 - 20.3K bytes - Viewed (0) -
tensorflow/c/kernels/bitcast_op_test.cc
std::vector<shape_inference::ShapeHandle> input_shapes; TF_CHECK_OK(c.input("input", &input_shapes)); ASSERT_EQ("[3,4]", c.DebugString(input_shapes[0])); TF_CHECK_OK(reg->shape_inference_fn(&c)); ASSERT_EQ("[3,4,8]", c.DebugString(c.output(0))); } TEST(BitcastOpTest, TestShapeInference_SmallerShape) { const OpRegistrationData* reg;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 18 15:10:51 UTC 2022 - 5.5K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
#include "tensorflow/c/eager/abstract_tensor_handle.h" namespace tensorflow { std::string AbstractTensorHandle::DebugString() const { PartialTensorShape shape; 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: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/ops_test.cc
status); EXPECT_EQ("[10,20,30]", c.DebugString(s1)); EXPECT_EQ(TF_OK, TF_GetCode(status)); TF_ShapeInferenceContextWithRankAtLeast(C_CTX(&c), C_SHP(&in0), 3, C_SHP(&s1), status); EXPECT_EQ("[10,20,30]", c.DebugString(s1)); EXPECT_EQ(TF_OK, TF_GetCode(status));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
"Multiple CPU devices ", device_info_cache.DebugString(devices))); } if (multiple_gpu_devices) { FAILED_TO_PICK_DEVICE(errors::Internal( "Multiple GPU devices ", device_info_cache.DebugString(devices))); } if (multiple_unknown_devices) { FAILED_TO_PICK_DEVICE(errors::Internal( "Multiple unknown devices ", device_info_cache.DebugString(devices))); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K 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: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_cache.h
<< ", entry=" << entry->DebugString(); } template <typename ExecutableType> std::string DeviceCompilationCache<ExecutableType>::DebugString() const { std::string s = "DeviceCompilationCache<ExecutableType> {\n"; { mutex_lock lock(compile_cache_mu_); for (const auto& [key, entry] : cache_) { absl::StrAppend(&s, key.HumanString(), " : ", entry->DebugString(), ",\n"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 8.9K 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 { Status status;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 21:29:12 UTC 2023 - 5.5K bytes - Viewed (0) -
tensorflow/cc/saved_model/test_utils.h
class ProtoStringMatcher { public: explicit ProtoStringMatcher(const tensorflow::protobuf::Message& expected) : expected_(expected.DebugString()) {} template <typename Message> bool MatchAndExplain(const Message& p, ::testing::MatchResultListener*) const { return p.DebugString() == expected_; } void DescribeTo(::std::ostream* os) const { *os << expected_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 31 23:00:51 UTC 2023 - 1.9K bytes - Viewed (0)