Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RegisterAdditionalOperationHook (0.18 sec)

  1. 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)
  2. 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)
Back to top