Upgrading einops 0.2 to 0.3
Unknown0.2.0 → 0.3.2Changed2Other3
UnknownUpgrade verdict
2 of 3 releases publish no notes, so breaking changes can't be ruled out.
In plain terms
- Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
- DepDelta found no commit log for them either.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
export EinopsError - added:
class EinopsError(RuntimeError) - added:
export repeat
- removed:
class EinopsError(RuntimeError) - removed:
function parse_expression(expression: str) -> Tuple[Set[str], List[CompositeAxis]] - removed:
variable CompositeAxis - changed:
constructor TransformRecipe(elementary_axes_lengths: List, input_composite_axes: List[Tuple[List[int], List[int]]], output_composite_axes: List[List[int]], reduction_type: str=…, reduced_elementary_axes: Tuple[int]=…, ellipsis_positions: Tuple[int, int]=…) → constructor TransformRecipe(elementary_axes_lengths: List, input_composite_axes: List[Tuple[List[int], List[int]]], reduced_elementary_axes: Tuple[int], axes_permutation: Tuple[int], added_axes: Dict[int, int], output_composite_axes: List[List[int]], reduction_type: Reduction=…, ellipsis_position_in_lhs: int=…) - changed:
function rearrange(tensor, pattern, **axes_lengths) → function rearrange(tensor, pattern: str, **axes_lengths) - changed:
function reduce(tensor, pattern: str, reduction: str, **axes_lengths: int) → function reduce(tensor, pattern: str, reduction: Reduction, **axes_lengths: int) - added:
function repeat(tensor, pattern: str, **axes_lengths) - added:
variable Reduction - added:
variable ReductionCallable
- added:
class WeightedEinsum(WeightedEinsumMixin, chainer.Link)
- added:
class WeightedEinsum(WeightedEinsumMixin, mxnet.gluon.HybridBlock) - added:
method WeightedEinsum.hybrid_forward(F, x, *args, **kwargs)
- added:
class WeightedEinsum(WeightedEinsumMixin, Layer) - added:
method WeightedEinsum.build(input_shape) - added:
method WeightedEinsum.call(inputs) - added:
method WeightedEinsum.get_config()
- added:
class WeightedEinsum(WeightedEinsumMixin, torch.nn.Module) - added:
method WeightedEinsum.forward(input)
- added:
class AnonymousAxis(object) - added:
class ParsedExpression - added:
constructor AnonymousAxis(value: str) - added:
constructor ParsedExpression(expression) - added:
method ParsedExpression.flat_axes_order() -> List - added:
method ParsedExpression.has_composed_axes() -> bool - added:
static method ParsedExpression.check_axis_name(name: str, return_reason=…)