Home
last modified time | relevance | path

Searched refs:dyn_sizes (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/ir/
Dtf_framework_ops.td76 Variadic<Index>:$dyn_sizes,
89 "ValueRange":$dyn_sizes),
92 $_state.addOperands(dyn_sizes);
102 `(` $ctx (`,` $dyn_sizes^ )? `)` attr-dict `:` type($result)
Dtf_framework_ops.cc72 unsigned dyn_sizes_count = op.dyn_sizes().size(); in Verify()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/tests/
Dinvalid.mlir4 // expected-error @+1 {{`dyn_sizes` count 1 does not match dynamic dimensions}}
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlegalize_to_linalg.cc89 ArrayRef<Value> dyn_sizes) { in GetInitTensor() argument
90 return b.create<linalg::InitTensorOp>(loc, dyn_sizes, type.getShape(), in GetInitTensor()
98 SmallVector<Value, 2> dyn_sizes; in ExtractDynamicSizes() local
101 dyn_sizes.push_back(b.create<DimOp>(loc, tensor, en.index())); in ExtractDynamicSizes()
103 return dyn_sizes; in ExtractDynamicSizes()
192 auto dyn_sizes = ExtractDynamicSizes(rewriter, loc, args[0]); in matchAndRewrite() local
194 GetInitTensor(rewriter, loc, result_type, dyn_sizes)); in matchAndRewrite()
384 auto dyn_sizes = isLHLO ? SmallVector<Value, 2>() in matchAndRewrite() local
393 : ValueRange{GetInitTensor(rewriter, loc, result_type, dyn_sizes)}, in matchAndRewrite()
851 auto dyn_sizes = isLHLO in matchAndRewrite() local
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dsame_shape_propagation.cc227 fillShapeFromAllocLike(alloc.dyn_sizes(), type, shape); in build()
Dtf_framework_legalize_to_llvm.cc85 llvm::to_vector<4>(transformed.dyn_sizes()), in matchAndRewrite()