Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for debugString (0.13 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/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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top