Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for debugString (0.17 sec)

  1. 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)
  2. tensorflow/c/eager/immediate_execution_tensor_handle.h

      virtual int DeviceId(Status* status) const = 0;
      // Returns a tensor for the handle. If tensor is remote, it will be copied.
      virtual AbstractTensorInterface* Resolve(Status* status) = 0;
    
      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
      // `SummarizeValue` to resolving this handle and formatting the tensor.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 10 21:56:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

            args.DebugString()));
      }
    
      const StructuredValue& kwargs = args_kwargs_tuple.values(1);
      if (!kwargs.has_dict_value()) {
        return absl::FailedPreconditionError(absl::StrCat(
            "SignatureDefFunction's canonicalized_input_signature's kwargs"
            "should be a dictionary, but instead got: \n",
            kwargs.DebugString()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top