Lines Matching defs:staticShape
182 SmallVector<int64_t> staticShape(type.getShape());
198 staticShape[i] = *cst;
205 return RankedTensorType::get(staticShape, type.getElementType(),
920 ArrayRef<int64_t> staticShape, Type elementType,
922 assert(all_of(staticShape,
925 build(builder, result, staticShape, elementType, ValueRange{}, encoding);
929 ArrayRef<int64_t> staticShape, Type elementType,
931 auto tensorType = RankedTensorType::get(staticShape, elementType, encoding);
938 SmallVector<int64_t> staticShape;
940 dispatchIndexOpFoldResults(sizes, dynamicSizes, staticShape);
941 build(builder, result, staticShape, elementType, dynamicSizes, encoding);
3796 ArrayRef<int64_t> staticShape, ValueRange dynamicSizes) {
3797 auto aggregateType = RankedTensorType::get(staticShape, element.getType());
3803 SmallVector<int64_t> staticShape;
3805 dispatchIndexOpFoldResults(sizes, dynamicSizes, staticShape);
3806 build(builder, result, element, staticShape, dynamicSizes);