@@ -747,12 +747,12 @@ def merge_extracts(extracts: List[types.Extracts],
747
747
will not reproduce the exact shape of the original extracts. Arrays in shape
748
748
(x,1) will be flattened to (x,). To maintain the original shape of extract
749
749
values of array shape (x,1), you must run with these options:
750
- split_extracts(extracts, avoid_scalar_values =False)
750
+ split_extracts(extracts, expand_zero_dims =False)
751
751
merge_extracts(extracts, squeeze_two_dim_vector=False)
752
752
Args:
753
753
extracts: Batched TFMA Extracts.
754
754
squeeze_two_dim_vector: Determines how the function will handle arrays of
755
- shape (x,1). If flatten_two_dim_vector is True, the array will be squeezed
755
+ shape (x,1). If squeeze_two_dim_vector is True, the array will be squeezed
756
756
to shape (x,).
757
757
758
758
Returns:
@@ -845,8 +845,8 @@ def split_extracts(extracts: types.Extracts,
845
845
will not reproduce the exact shape of the original extracts. Arrays in shape
846
846
(x,1) will be flattened to (x,). To maintain the original shape of extract
847
847
values of array shape (x,1), you must run with these options:
848
- split_extracts(extracts, avoid_scalar_values =False)
849
- merge_extracts(extracts, flatten_two_dim_vector =False)
848
+ split_extracts(extracts, expand_zero_dims =False)
849
+ merge_extracts(extracts, squeeze_two_dim_vector =False)
850
850
851
851
Args:
852
852
extracts: Batched TFMA Extracts.
0 commit comments