For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
SqueezeShape
struct SqueezeShape
Implemented traitsβ
AnyType,
ImplicitlyDestructible
Methodsβ
executeβ
static def execute[target: StringSlice[StaticConstantOrigin], dtype: DType, indices_type: DType](output_shape: ManagedTensorSlice[Output, static_spec=output_shape.static_spec], input_shape: ManagedTensorSlice[Input, static_spec=input_shape.static_spec], remove_indices: ManagedTensorSlice[Input, static_spec=remove_indices.static_spec])
shapeβ
static def shape[dtype: DType, indices_type: DType](input_shape: ManagedTensorSlice[Input, static_spec=input_shape.static_spec], remove_indices: ManagedTensorSlice[Input, static_spec=remove_indices.static_spec]) -> IndexList[1]
Returns:
IndexList[1]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!