- Sort Score
- Result 10 results
- Languages All
Results 21 - 28 of 28 for debugString (0.15 sec)
-
tensorflow/c/eager/abstract_tensor_handle.h
virtual tensorflow::FullTypeDef FullType() const = 0; // The default debug string includes a shape, dtype and FullType. // Implementations are free to override it with something more informative. virtual std::string DebugString() const; AbstractTensorHandleKind getKind() const { return kind_; } private: const AbstractTensorHandleKind kind_; }; namespace internal { struct AbstractTensorHandleDeleter {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 00:30:36 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator.cc
if (!CanCreateXlaKernel(node_def)) { return errors::Internal("Invalid node: ", node_def.ShortDebugString()); } VLOG(3) << "Attempting to create XlaLaunchOp for " << node_def.DebugString(); // Make sure that kernels have been registered on the JIT device. XlaOpRegistry::RegisterCompilationKernels(); // Get function body, constant args, and resource args. NameAttrList function;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 22:24:01 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_while_results.cc
// result usage with the corresponding block argument, the result and operand // will be removed later in a canonicalization pattern. VLOG(4) << "Pruning following op:\n" << debugString(*candidate_op); body_yield_operand.replaceAllUsesWith(body_block_argument); candidate_op->erase(); return true; } void RemoveUnusedWhileResultsPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 16 01:49:07 UTC 2022 - 5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_cluster_signature.cc
struct SignatureHumanStringAppender { explicit SignatureHumanStringAppender(std::string* dest) : dest(dest) {} std::string* dest; void operator()(const Tensor& arg) { absl::StrAppend(dest, "; ", arg.DebugString()); } void operator()(const TensorTypeAndShape& arg) { absl::StrAppend(dest, ",", DataTypeString(arg.first)); absl::StrAppend(dest, " [", absl::StrJoin(arg.second, ","), "]"); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 4.7K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
WhileContext* while_ctx; for (int i = 0; i < outputs_.size(); ++i) { Node* node = outputs_[i].node(); ASSERT_TRUE(node->IsExit()) << "Output node " << i << ":\n" << node->DebugString(); ASSERT_TRUE(node->while_ctx() != nullptr) << i; if (i == 0) { while_ctx = node->while_ctx(); EXPECT_EQ(while_ctx->frame_name(), kFrameName); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
1); // Check the location information. std::vector<std::string> locations; for (const auto& error : collected_errors) { EXPECT_TRUE(error.has_location()); locations.push_back(error.location().DebugString()); } EXPECT_THAT(locations, Each(testing::HasSubstr("CALLSITELOC"))); EXPECT_THAT(locations, Each(testing::HasSubstr(input_file))); EXPECT_THAT(locations, Contains(testing::HasSubstr("line: 2")));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc
}, fallback_state.device_manager(), fallback_state.process_function_library_runtime()); RETURN_FAILURE_IF_ERROR(runner.status()); VLOG(1) << "Start to evaluate node: " << node_def->get()->DebugString(); std::vector<tensorflow::Tensor> inputs; // Adds inputs to the TF operation. for (const ElementsAttr& operand : operands) { tensorflow::Tensor tensor;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
absl::string_view device_name) { TF_ASSIGN_OR_RETURN(DeviceId device_id, GetIdFor(device_name)); return std::cref(*id_to_device_type_[device_id.id()]); } string DebugString(const DeviceSet& device_set) const; private: absl::flat_hash_map<string, DeviceId> name_to_id_; // These fields are populated for a device in GetIdFor, *before* we give out a // DeviceId.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0)