Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsTrivialUnaryOperation (0.18 sec)

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

        return block_arg.getOwner()->getParentOp();
    
      return value.getDefiningOp();
    }
    
    // TODO(b/158596585): Replace this with a cost model analysis.
    bool IsTrivialUnaryOperation(Operation* op) {
      return llvm::isa<TF::CastOp, TF::IdentityOp>(op);
    }
    
    // Adds outside compilation attributes to unary ops such as Identity/Cast ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top