Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsOpReplicateInvariant (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

        shape_op.replaceAllUsesWith(new_shape_op.getOperation());
        shape_op.erase();
      }
    }
    
    // Checks if op and inner op operands are all replicate invariant.
    bool IsOpReplicateInvariant(Region* replicate_region, Operation* op) {
      auto ancestor_of_replicate = [&](Region* region) {
        return region && region->isProperAncestor(replicate_region);
      };
    
      for (Value operand : op->getOperands())
    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