Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for debugString (0.16 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/c/c_api_function_test.cc

      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
      ASSERT_EQ(attr.DebugString(), read_attr.DebugString());
    
      // Retrieve the same attr after save/restore
      Reincarnate();
      AttrValue read_attr2;
      GetAttr("test_attr_name", &read_attr2);
      ASSERT_EQ(attr.DebugString(), read_attr2.DebugString());
    }
    
    TEST_F(CApiFunctionTest, Description) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/c/c_api_experimental.cc

      tensorflow::mutex_lock c(graph->mu);
      const auto& debug_str = graph->graph.ToGraphDefDebug().DebugString();
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    char* TF_FunctionDebugString(TF_Function* func, size_t* len) {
      const auto& debug_str = DebugString(func->record->fdef());
      *len = debug_str.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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