Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 80 for PassRegistration (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc

                  return !isa<TF::DumpTensorOp>(use.getOwner());
                });
          }
        }
      }
    
      DebuggerType debugger_type_;
      std::string log_dir_path_;
    };
    
    static PassRegistration<AddDumpTensorOpPass> pass;
    
    void AddDumpTensorOpPass::runOnOperation() {
      MLIRContext *ctx = &getContext();
      RewritePatternSet patterns(ctx);
      ModuleOp module = getOperation();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareLiftingPass(
        const OpSet target_opset) {
      return std::make_unique<PrepareLiftingPass>(target_opset);
    }
    
    static PassRegistration<PrepareLiftingPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

    }  // namespace internal
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateFallbackToFlexOpsPass(
        const std::string &mode) {
      return std::make_unique<internal::FallbackToFlexOps>(mode);
    }
    
    static PassRegistration<internal::FallbackToFlexOps> pass([] {
      return CreateFallbackToFlexOpsPass(/*mode=*/internal::kDefaultMode);
    });
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfreezeConstantsPass() {
      return std::make_unique<UnfreezeConstantsPass>();
    }
    
    static PassRegistration<UnfreezeConstantsPass> pass([] {
      return CreateUnfreezeConstantsPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeInitializerFunctionOpsToMainPass() {
      return std::make_unique<MergeInitializerFunctionOpsToMainPass>();
    }
    
    // Registers MergeInitializerFunctionOpsToMainPass.
    static PassRegistration<MergeInitializerFunctionOpsToMainPass> pass([] {
      return CreateMergeInitializerFunctionOpsToMainPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

            op->print(log_stream);
            VLOG(2) << log_message;
          }
        });
      }
    
      const QuantizationOptions& quant_options_;
    };
    
    static PassRegistration<LiftQuantizableSpotsAsFunctionsPass> pass;
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.inc"
    
    void LiftQuantizableSpotsAsFunctionsPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreateDecomposeTFOpsPass(
        std::optional<ModuleOp> tfr_module) {
      return std::make_unique<DecomposeTFOpsPass>(tfr_module);
    }
    
    static PassRegistration<DecomposeTFOpsPass> pass([] {
      return CreateDecomposeTFOpsPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          // $dim_index
          CompileTimeConstantOperand<TF::XlaSetDynamicDimensionSizeOp, 1>
          // go/keep-sorted end
          >(func_op);
    }
    
    static PassRegistration<DuplicateShapeDeterminingConstantsPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateDuplicateShapeDeterminingConstantsPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    class PostQuantizePass : public impl::PostQuantizePassBase<PostQuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PostQuantizePass)
    
      // Constructor used by the PassRegistration. This will remove the adaptor ops.
      explicit PostQuantizePass() { this->emit_quant_adaptor_ops_ = false; }
    
      // Constructor used by manually creating the pass.
      explicit PostQuantizePass(bool emit_quant_adaptor_ops,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertMainFunctionPass() {
      return std::make_unique<InsertMainFunctionPass>();
    }
    
    static PassRegistration<InsertMainFunctionPass> pass([] {
      return CreateInsertMainFunctionPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top