Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 81 for debugString (0.37 sec)

  1. tensorflow/compiler/jit/device_compilation_profiler.cc

    }
    
    std::string DeviceCompilationProfiler::DebugString() const {
      std::string debug_string =
          "DeviceCompilationProfiler {\ncluster_compile_stats: {\n";
      {
        mutex_lock lock(mu_);
    
        for (const auto& [key, stats] : cluster_compile_stats_) {
          absl::StrAppend(&debug_string, key, ": ", stats.DebugString(), "\n");
        }
      }
    
      absl::StrAppend(&debug_string, "}\nnum_ongoing_compilations=",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/impl/tensor_spec.h

      }
    
      /// Overload AbslHashValue to make TensorSpec hashable.
      template <typename H>
      friend H AbslHashValue(H h, const TensorSpec& t) {
        return H::combine(std::move(h), t.shape.DebugString(), t.dtype);
      }
    };
    
    // Defined in `iostream.cc`.
    std::ostream& operator<<(std::ostream& o, const TensorSpec& x);
    
    }  // namespace impl
    }  // namespace libtf
    }  // namespace tf
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 09 21:11:15 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_executable_persistor.h

      if (!AreSerializedProtosEqual(key, entry.key())) {
        VLOG(2) << "Serialized cache key does not match:\n"
                << "got:\n"
                << entry.key().DebugString() << "\nexpected:\n"
                << key.DebugString() << "\n";
        return errors::InvalidArgument("Serialized cache key does not match.");
      }
    
      // Perform a stricter (slower) check of the snapshot to verify that they
      // match exactly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

            "be nullptr.");
      }
    
      LOG(INFO) << "User-provided quantization config: "
                << quantization_config.DebugString();
      const QuantizationConfig updated_config =
          ExpandPresets(PopulateDefaults(quantization_config));
      LOG(INFO) << "Updated quantization config: " << updated_config.DebugString();
    
      const absl::flat_hash_map<std::string, SignatureDef> signature_def_map =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/c/kernels_test.cc

        protobuf::TextFormat::ParseFromString(ExpectedString(#dtype),            \
                                              &expected_proto);                  \
        ASSERT_EQ(expected_proto.DebugString(), list.DebugString());             \
                                                                                 \
        TF_DeleteBuffer(buf);                                                    \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  6. tensorflow/c/kernels/tensor_shape_utils_test.cc

      Status status;
      TF_Tensor* tf_tensor = TF_TensorFromTensor(tensor, &status);
      TF_TensorWrapper tensor_wrapper = TF_TensorWrapper(tf_tensor);
      ASSERT_TRUE(status.ok()) << status.ToString();
      ASSERT_EQ(tensor.shape().DebugString(), ShapeDebugString(tf_tensor));
    }
    
    TEST(ShapeDebugString, RegularShape) { TestShapeMatch(TensorShape({5, 4, 7})); }
    
    TEST(ShapeDebugString, ScalarShape) { TestShapeMatch(TensorShape({})); }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 03 21:44:58 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/cc/experimental/libtf/impl/iostream.cc

    }
    
    std::ostream& operator<<(std::ostream& o, const String& str) {
      return o << str.str();
    }
    
    std::ostream& operator<<(std::ostream& o, const TensorSpec& x) {
      o << "TensorSpec(shape = " << x.shape.DebugString() << ", dtype = " << x.dtype
        << ")";
      return o;
    }
    
    }  // namespace impl
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 09 21:11:15 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

            } else {
              return av.DebugString() == bv.DebugString();
            }
          },
          absl::StrCat(diff_preamble, " attr mismatch for node ", a.name()), diff);
    }
    
    bool EqualFunctionDef(const FunctionDef& a, const FunctionDef& b,
                          string* diff) {
      if (a.signature().DebugString() != b.signature().DebugString()) {
        if (diff) {
          *diff =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/summary_op_test.cc

    void ExpectSummaryMatches(const Summary& actual, const string& expected_str) {
      Summary expected;
      ASSERT_TRUE(protobuf::TextFormat::ParseFromString(expected_str, &expected));
      EXPECT_EQ(expected.DebugString(), actual.DebugString());
    }
    
    void TestScalarSummaryOp(Tensor* tags, Tensor* values, string expected_output,
                             error::Code expected_code) {
      // Initialize node used to fetch OpKernel
      Status status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/deadness_analysis.h

      // Prints out the internal state of this instance.  For debugging purposes
      // only.
      virtual void Print() const = 0;
      virtual ~DeadnessAnalysis();
    
      string DebugString(DeadnessPredicate predicate) const;
    
      // Run the deadness analysis over `graph` and returns an error or a populated
      // instance of DeadnessAnalysis in `result`.
      static Status Run(const Graph& graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top