Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for debugString (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

                VLOG(2) << "  used by: " << debugString(*result_user);
              }
            }
          }
          continue;
        }
    
        auto assign_op = llvm::dyn_cast<TF::AssignVariableOp>(*result.user_begin());
        if (!assign_op) {
          VLOG(2) << "TPUMergeVariablesWithExecutePass: Skipping non-assign op: "
                  << debugString(*result.user_begin());
          continue;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device_context.cc

              << " "
              << reinterpret_cast<const void*>(device_tensor->tensor_data().data())
              << " " << cpu_tensor->NumElements() << " "
              << cpu_tensor->shape().DebugString() << " "
              << device_tensor->shape().DebugString();
    
      XlaTensor* xla_tensor = XlaTensor::FromTensor(device_tensor);
      CHECK(xla_tensor);
    
      XlaLayoutPreference layout_preference =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K 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