- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getBatchDims (0.45 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
assert(port[0] == 0); auto params = op.getParams(); auto params_ty = mlir::dyn_cast<RankedTensorType>(params.getType()); if (!params_ty || !params_ty.hasStaticShape() || params_ty.getRank() != 1 || op.getBatchDims() != 0) { return {}; } DenseIntElementsAttr axis; if (!matchPattern(op.getAxis(), m_Constant(&axis)) || axis.getNumElements() != 1 || !axis.getSplatValue<llvm::APInt>().isZero()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0)