getInputShapeIfDifferent method
Implementation
List<int>? getInputShapeIfDifferent(Object? input) {
if (input == null) {
return null;
}
if (input is ByteBuffer || input is Uint8List) {
return null;
}
final inputShape = computeShapeOf(input);
if (listEquals(inputShape, shape)) {
return null;
}
return inputShape;
}