- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Unary (0.03 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc
} // 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 // at the head of TPU computation that is used only by other outside compiled // ops. Identity ops and Cast ops is commonly added to the start of TPU
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
return success(); } } return op->emitOpError("Block has no predecessor"); } if (v.getDefiningOp()->getNumOperands() == 1) { // If the value is originating from an unary op, assume it's something // simple like "cast" and keep tracing. return traceUpwardsToArgument(v.getDefiningOp()->getOperand(0), seen, out); } else { // Typically a tf.VarHandle op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0)