Skip to content

Commit fdd5c53

Browse files
committed
fix(exla): pull from main value.ex
1 parent cdc4cb2 commit fdd5c53

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

exla/lib/exla/mlir/value.ex

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -585,11 +585,6 @@ defmodule EXLA.MLIR.Value do
585585
|> Enum.map_join(",", fn {_dim, mark} -> mark end)
586586
end
587587

588-
defp get_shape(%Value{function: %EXLA.MLIR.Function{return_typespecs: [typespec | _]}}),
589-
do: typespec.shape
590-
591-
defp attr_shape(shape), do: {:array, Tuple.to_list(shape)}
592-
593588
def triangular_solve(
594589
%Value{function: func} = a,
595590
%Value{function: func} = b,
@@ -616,8 +611,7 @@ defmodule EXLA.MLIR.Value do
616611
transpose_a: transpose_a
617612
]
618613

619-
op(func, "stablehlo.triangular_solve", [a, b], result_types, attributes: attributes)
620-
|> one!()
614+
op(func, "stablehlo.triangular_solve", [a, b], result_types, attributes: attributes) |> one!()
621615
end
622616

623617
def dynamic_update_slice(%Value{function: func} = operand, updates, starts, typespec) do

0 commit comments

Comments
 (0)