Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetReplicaOperandForBlockArgument (0.28 sec)

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

      // associated first replica operand.
      if (auto block_arg = mlir::dyn_cast<BlockArgument>(input)) {
        if (block_arg.getOwner() != replicate_block) return;
    
        shape_op.setOperand(replicate_op.GetReplicaOperandForBlockArgument(
            block_arg, /*replica=*/0));
    
        return;
      }
    
      Operation* input_def = input.getDefiningOp();
    
      // If ShapeOp operand is a ReadVariableOp result where the ReadVariableOp
    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