Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for debugString (0.66 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

          case 64:
            *dtype = itype.isUnsigned() ? DT_UINT64 : DT_INT64;
            return absl::OkStatus();
          default:
            return errors::Unimplemented(
                absl::StrCat("Converting ", debugString(type), " to DataType"));
        }
      } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) {
        auto etype = complex_type.getElementType();
        if (etype.isF32()) {
          *dtype = DT_COMPLEX64;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

            attrs.push_back(attr);
          }
          if (!value.list().func().empty()) {
            return tensorflow::errors::Unimplemented(
                absl::StrCat("Attribute ", value.DebugString()));
          }
          return builder->getArrayAttr(llvm::ArrayRef(attrs.begin(), attrs.end()));
        }
        case AttrValue::VALUE_NOT_SET:
          return builder->getUnitAttr();
        // kPlaceholder is not implemented.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  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/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)
  6. 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)
  7. tensorflow/compiler/jit/xla_activity_listener.cc

        return listener->Listen(jit_compilation_activity);
      });
    }
    
    Status BroadcastOptimizationRemark(XlaOptimizationRemark optimization_remark) {
      VLOG(2) << "OptimizationRemark: " << optimization_remark.DebugString();
      return ForEachListener([&](XlaActivityListener* listener) {
        return listener->Listen(optimization_remark);
      });
    }
    
    Status BroadcastOptimizationRemark(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_context_test.cc

      TF_ASSERT_OK(device_context_->CopyDeviceTensorToCPUSync(
          &device_tensor, "", device_.get(), &dest_cpu_tensor));
      LOG(INFO) << "H2D - D2H roundtrip completes. tensor: "
                << dest_cpu_tensor.DebugString(4);
    
      tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor);
    }
    #endif
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/test_matchers.h

      if (graph_analysis_failure) {
        return testing::ExplainMatchResult(testing::IsTrue(),
                                           graph_analysis_failure, result_listener);
      }
      auto proto = arg.value().computation->proto().DebugString();
      return testing::ExplainMatchResult(testing::ContainsRegex(regex), proto,
                                         result_listener);
    }
    
    MATCHER_P(
        HasMlirModuleWith, expected,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 19 22:54:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/c/checkpoint_reader.h

    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
      const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top