- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 114 for function_ref (0.3 sec)
-
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
return result; } gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher> FunctionNameToFunctionDefMap(const FunctionDefLibrary& library) { gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*, StringPieceHasher> result; for (const FunctionDef& function_def : library.function()) { result[function_def.signature().name()] = &function_def; } return result; }
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/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/c/experimental/saved_model/core/revived_types/tf_concrete_function.cc
Status TFConcreteFunction::Create( const FunctionDef* function_def, std::vector<ImmediateExecutionTensorHandle*> captures, FunctionMetadata metadata, ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out) { std::unique_ptr<FlatTensorFunction> func; TF_RETURN_IF_ERROR(FlatTensorFunction::Create( function_def, std::move(captures), ctx, &func));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.cc
Status TFSignatureDefFunction::Create( const FunctionDef* function_def, std::vector<ImmediateExecutionTensorHandle*> captures, SignatureDefFunctionMetadata metadata, ImmediateExecutionContext* ctx, std::unique_ptr<TFSignatureDefFunction>* out) { std::unique_ptr<FlatTensorFunction> func; TF_RETURN_IF_ERROR(FlatTensorFunction::Create( function_def, std::move(captures), ctx, &func));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 07:01:57 UTC 2020 - 2.4K bytes - Viewed (0)