- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RegisterAdditionalOperationHook (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h
// // A hook may use the public addOperations() method to add additional // operations to the dialect. Hooks will only apply to subsequent // instantations of the Dialect/MLIRContext. static void RegisterAdditionalOperationHook(TypeID uniqueId, AdditionalOpFunction fn); // Re-define publicly the protected addOperations() method from the Dialect
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
static auto *additional_operation_hooks = new DenseMap<TypeID, TensorFlowDialect::AdditionalOpFunction>(); return *additional_operation_hooks; } void TensorFlowDialect::RegisterAdditionalOperationHook( TypeID id, AdditionalOpFunction fn) { GetAdditionalOperationHooks().try_emplace(id, std::move(fn)); } TensorFlowDialect::ConstantFoldHook TensorFlowDialect::constant_fold_hook_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0)