Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TPURewritePass (0.15 sec)

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