Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for PassRegistration (0.32 sec)

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

      }
    
      auto it = function_library_map.find(op_set);
      if (it != function_library_map.end()) {
        return it->second;
      }
      return llvm::StringRef();
    }
    
    static PassRegistration<InsertQuantizedFunctionsPass> pass;
    
    void InsertQuantizedFunctionsPass::runOnOperation() {
      ModuleOp module = getOperation();
      SymbolTable symbol_table(module);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

        LOG(INFO) << "There are no VarHandleOps to restore. RestoreV2 op will not "
                     "be created.";
        return;
      }
    
      CreateRestoreV2Op(target_var_handle_ops, session_init_func);
    }
    
    static PassRegistration<InsertRestoreOpPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertRestoreOpPass() {
      return std::make_unique<InsertRestoreOpPass>();
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

        LOG(INFO) << "There are no VarHandleOps to save. SaveV2 op will not "
                     "be created.";
        return;
      }
    
      CreateSaveFunc(module_op, target_var_handle_ops);
    }
    
    static PassRegistration<InsertSaveOpPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertSaveOpPass() {
      return std::make_unique<InsertSaveOpPass>();
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        custom_op.erase();
      });
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() {
      return std::make_unique<TflToStablehloPass>();
    }
    
    static PassRegistration<TflToStablehloPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePinOpsWithSideEffectsPass() {
      return std::make_unique<PinOpsWithSideEffectsPass>();
    }
    
    static PassRegistration<PinOpsWithSideEffectsPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

          }
        }
        return llvm::StringRef("");
      };
    
      return CreateImportQuantStatsPass(get_name_func, stats_str);
    }
    
    // Registers this pass with default values, only for test
    static PassRegistration<ImportQuantStatsPass> pass([] {
      return CreateImportQuantStatsPassForTFControlDialect(quantize_stats);
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createUnfuseBatchNormPass() {
      return std::make_unique<UnfuseMhloBatchNormPass>();
    }
    
    static PassRegistration<UnfuseMhloBatchNormPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        }
    
        op->emitRemark("Not supported quantization data type.");
        return failure();
      }
    
     protected:
      tensorflow::quantization::QuantizationOptions quant_options_;
    };
    
    static PassRegistration<QuantizeWeightsPass> pass;
    
    void QuantizeWeightsPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      auto module_op = getOperation();
      RewritePatternSet patterns(ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

    class QuantizePass
        : public PassWrapper<QuantizePass, OperationPass<func::FuncOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizePass)
    
      // Constructor used by the PassRegistration and only used by test.
      explicit QuantizePass() {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
      // Constructor used by manually creating the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeBatchMatmulPass() {
      return std::make_unique<OptimizeBatchMatmulPass>();
    }
    
    static PassRegistration<OptimizeBatchMatmulPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top