- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 102 for function_ref (0.37 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} }; using ValuePortResultMap = absl::flat_hash_map<ValuePort, Attribute, ValuePortHasher>; using ComputedQueryFn = function_ref<bool(ValuePort)>; using ValueQueryFn = function_ref<Attribute(const ValuePort&)>; using ValuePortInputs = SmallVectorImpl<ValuePort>; // Note: Following implements the rank 1 pack op case so could be // generalized. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc
if (!status.ok()) { LOG(ERROR) << "Failed to remove functiondef " << name_ << ". " << status.message(); } } Status FlatTensorFunction::Create( const FunctionDef* function_def, std::vector<ImmediateExecutionTensorHandle*> captures, ImmediateExecutionContext* ctx, std::unique_ptr<FlatTensorFunction>* out) { TF_RETURN_IF_ERROR(ctx->AddFunctionDef(*function_def));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/graph_def.h
for (tensorflow::NodeDef& node_def : *graph_def.mutable_node()) { func(node_def); } for (tensorflow::FunctionDef& function_def : *graph_def.mutable_library()->mutable_function()) { for (tensorflow::NodeDef& node_def : *function_def.mutable_node_def()) { func(node_def); } } } } // namespace stablehlo::quantization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 28 18:38:06 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); // Register and run a function which returns the sum of 3 variables. const string function_def = AddVariablesFunction(); TFE_ContextAddFunctionDef(ctx, function_def.data(), function_def.size(), status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_Op* func = TFE_NewOp(ctx, "AddVariablesFunction", status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h
public: // Factory function for creating a TFConcreteFunction. // // Params: // function_def - The function_def associated with the created // TFConcreteFunction. TFConcreteFunction will register this // function_def with `ctx` on creation, and de-register it on // destruction. function_def must be non-null, but // otherwise has no lifetime requirements.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.h
// Factory function for creating a TFSignatureDefFunction. // // Params: // function_def - The function_def associated with the created // TFSignatureDefFunction. TFSignatureDefFunction will // register this function_def with `ctx` on creation, and // de-register it on destruction. function_def must be // non-null, but otherwise has no lifetime requirements.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 4.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.h
gtl::FlatMap<StringPiece, const AttrValueMap*, StringPieceHasher> NodeToAttrMap( const tensorflow::GraphDef& graphdef); // Maps the name of each FunctionDef in `library` to its corresponding // FunctionDef. Callers must ensure `library` outlives the returned map. gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher> FunctionNameToFunctionDefMap(const FunctionDefLibrary& library);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 04:18:52 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h
Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func, const GraphExportConfig& configs, FunctionDef* function_def); } // namespace v2 } // namespace tf2xla } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h
Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func, const GraphExportConfig& configs, FunctionDef* function_def); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
} TaggedValue module = TaggedValue::Dict(); // Initialize concrete function traces. const RepeatedPtrField<FunctionDef> function_defs = tf_package->GetFunctionDefs(); absl::flat_hash_map<std::string, AbstractFunctionPtr> traces; for (auto& fdef : function_defs) { AbstractFunctionPtr trace(new GraphFunction(fdef), /*add_ref=*/false); traces[fdef.signature().name()] = trace; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0)