- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 63 for node_def (0.13 sec)
-
tensorflow/compiler/jit/shape_inference.cc
handle_shapes_and_types->at(0).shape; TensorShapeProto shape_proto; context->ShapeHandleToProto(handle, &shape_proto); if (!shape_proto.unknown_rank()) { NodeDef const_def; const_def.set_op("Const"); Node* var_node; TF_RETURN_IF_ERROR(n->input_node(0, &var_node)); const_def.set_name(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc
auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE); auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE); auto w = ops::Placeholder(scope.WithOpName("W"), DT_RESOURCE); NodeDef def; TF_CHECK_OK(NodeDefBuilder("launch0", function, &flib_def) .Input(a.node()->name(), 0, DT_INT32) .Input(b.node()->name(), 0, DT_FLOAT)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 16 18:03:15 UTC 2023 - 14.7K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
TF_FinishOperation(desc, s_); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); string msg(TF_Message(s_)); EXPECT_NE(msg.find("Input 'inputs' passed int32 expected float while " "building NodeDef 'float_op'"), msg.npos); TF_AbortWhile(params_.get()); } // This is a basic test to make sure the C++ gradient code can handle while
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc
node_names->push_back(flag.name()); // TOCO doesn't required `data_type` to be filled for every input. // If it's not filled, make it an empty string so the importer will use // the data type in the NodeDef. auto toco_data_type = flag.data_type(); if (toco_data_type == ::toco::IODataType::IO_DATA_TYPE_UNKNOWN) { node_dtypes->push_back(""); } else { node_dtypes->push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 17.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status.go
kl.recorder.Eventf(kl.nodeRef, eventType, event, "Node %s status is now: %s", kl.nodeName, event) } // recordEvent records an event for this node, the Kubelet's nodeRef is passed to the recorder func (kl *Kubelet) recordEvent(eventType, event, message string) { kl.recorder.Eventf(kl.nodeRef, eventType, event, message) } // record if node schedulable change.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 31.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
const TF_DataType* values, int num_values); // Checks the tensorflow::NodeDef built via the methods above to see if it can // run on device_type. TF_CAPI_EXPORT extern void TF_AttrBuilderCheckCanRunOnDevice( TF_AttrBuilder* builder, const char* device_type, TF_Status* status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc
op_, name_mapper_.GetUniqueName(op_), /*ignore_unregistered_attrs=*/true); if (!nodedef_or.ok()) { return op_->emitRemark() << "failed to convert op to NodeDef: " << nodedef_or.status().ToString(); } if (failed(PrepareParams())) return failure(); std::shared_ptr<const tensorflow::NodeProperties> props;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 18.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> NodeToAttrMap( const tensorflow::GraphDef& graphdef) { gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> result; for (const tensorflow::NodeDef& node : graphdef.node()) { result[node.name()] = &node.attr(); } return result; } gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler.h
DeviceCompilationProfiler* profiler, const XlaCompiler::CompilationResult** out_compilation_result, ExecutableType** out_executable) { const NodeDef& def = ctx->op_kernel().def(); NameAttrList name; name.set_name(def.op()); *name.mutable_attr() = def.attr(); // Remove the "_class" attribute from the attribute set used to create the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
if (materialize_derived_attrs_) { for (const auto& attr : derived_attrs) { // Add or update the derived attribute with the value. Skip the fixed // element type attributes, in case they are present in the NodeDef. if (!fixed_elt_type_attrs_.contains(attr.first())) { new_op->setAttr(attr.first(), attr.second); } } } // Create the tfr.cast ops on the results and replace the uses of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0)