Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TPURewritePass (0.28 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

    namespace {
    
    #define GEN_PASS_DEF_TPUREWRITEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h.inc"
    
    struct TPURewritePass : public impl::TPURewritePassBase<TPURewritePass> {
      explicit TPURewritePass(llvm::StringRef _module_name)
          : module_name(_module_name) {}
    
      void runOnOperation() override;
    
      llvm::StringRef module_name;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td

        tf_device.launch() ops. This is because the embedding op is head outside
        compiled and the compile op is wrapped in launch to execute on host
        during TPURewritePass.
    
        For example, the tf.OpA with the `mini_batch_splits` attribute will be
        moved after _TPUCompileMlir and the first input will use the
        _TPUCompileMlir program output:
    
        ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

      if (!read_var_op) return;
    
      // TODO(lyandy): Check if resource (first replica or replicate block arg)
      // shape has not changed in replicate prior to read. Currently after both
      // ResourceOpLiftingPass and TPURewritePass, there should not be any updates
      // to resources prior to their respective ReadVariableOp.
      if (auto block_arg =
              mlir::dyn_cast<BlockArgument>(read_var_op.getResource())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top