Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for debugString (0.29 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/c/eager/immediate_execution_tensor_handle.h

      virtual int DeviceId(Status* status) const = 0;
      // Returns a tensor for the handle. If tensor is remote, it will be copied.
      virtual AbstractTensorInterface* Resolve(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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 10 21:56:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_activity_listener_test.cc

      }
      unclustered_op_histogram {
        op: "_Retval"
        count: 1
      }
    }
    )",
          &expected_auto_clustering_activity);
      EXPECT_EQ(listener()->auto_clustering_activity().DebugString(),
                expected_auto_clustering_activity.DebugString());
    
      EXPECT_EQ(listener()->jit_compilation_activity().cluster_name(), "cluster_0");
      EXPECT_EQ(listener()->jit_compilation_activity().compile_count(), 1);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compilation_profiler.h

        // change too frequently) to profitably JIT compile.  Once a cluster is
        // tagged megamorphic, it stays megamorphic forever.
        bool is_megamorphic = false;
    
        std::string DebugString() const {
          return absl::StrCat(
              "DeviceCompilationProfiler::ClusterCompileStats {compile_count=",
              compile_count, ", execution_count=", execution_count,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top