Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for PassRegistration (0.43 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
      return std::make_unique<CompositeLoweringPass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<CompositeLoweringPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc

      NNAPIHardware nnapi_hardware;
      RewritePatternSet patterns = nnapi_hardware.GetTransformations(ctx);
      (void)applyPatternsAndFoldGreedily(func, std::move(patterns));
    }
    
    }  // namespace
    
    static PassRegistration<DeviceTransformNNAPIPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

        module->removeAttr("tf_saved_model.semantics");
      }
    };
    
    std::unique_ptr<Pass> CreateDropSavedModelSemanticsPass() {
      return std::make_unique<DropSavedModelSemanticsPass>();
    }
    
    static PassRegistration<DropSavedModelSemanticsPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() {
      return std::make_unique<SmuggleDisallowedOpsPass>();
    }
    
    static PassRegistration<SmuggleDisallowedOpsPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_gpu.cc

      return gpu_hardware.GetTransformations(context);
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateDeviceTransformGPUPass() {
      return std::make_unique<DeviceTransformGPUPass>();
    }
    
    static PassRegistration<DeviceTransformGPUPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

    }
    
    // Creates an instance of the pass to decompose the TF ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateRewriteQuantizedIOPass() {
      return std::make_unique<RewriteQuantizedIOPass>();
    }
    
    static PassRegistration<RewriteQuantizedIOPass> pass([] {
      return CreateRewriteQuantizedIOPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreateRaiseCustomOpsPass(
        const std::vector<std::string> &target_ops) {
      return std::make_unique<RaiseCustomOpsPass>(target_ops);
    }
    
    static PassRegistration<RaiseCustomOpsPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc

        ops_to_remove.push_back(&op);
      }
    
      // Remove op after the loop to avoid crash.
      for (Operation* op : ops_to_remove) {
        op->erase();
      }
    }
    
    static PassRegistration<MergeDuplicateResourceOpsPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateMergeDuplicateResourceOpsPass() {
      return std::make_unique<MergeDuplicateResourceOpsPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

        func_op->setAttr(kTfNoinlineAttr, builder.getBoolAttr(true));
        LLVM_DEBUG(llvm::dbgs()
                   << "Marked tf._noinline = true: " << func_op.getSymName());
      }
    }
    
    static PassRegistration<MarkFunctionsNoinlinePass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateMarkFunctionsNoinlinePass(
        const ArrayRef<std::string> noinline_functions) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        const_op->erase();
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass() {
      return std::make_unique<UnfoldSplatConstantPass>();
    }
    
    static PassRegistration<UnfoldSplatConstantPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top