Searched refs:legacy_get_string (Results 1 – 4 of 4) sorted by relevance
/aosp_15_r20/external/pytorch/torch/nn/ |
H A D | _reduction.py | 32 def legacy_get_string( function 60 return get_enum(legacy_get_string(size_average, reduce, emit_warning))
|
H A D | functional.py | 3147 reduction = _Reduction.legacy_get_string(size_average, reduce) 3209 reduction = _Reduction.legacy_get_string(size_average, reduce) 3478 reduction = _Reduction.legacy_get_string(size_average, reduce) 3667 reduction = _Reduction.legacy_get_string(size_average, reduce) 3751 reduction = _Reduction.legacy_get_string(size_average, reduce) 3789 reduction = _Reduction.legacy_get_string(size_average, reduce) 3945 reduction = _Reduction.legacy_get_string(size_average, reduce)
|
/aosp_15_r20/external/pytorch/torch/nn/modules/ |
H A D | loss.py | 44 self.reduction: str = _Reduction.legacy_get_string(size_average, reduce)
|
/aosp_15_r20/external/pytorch/torch/testing/_internal/ |
H A D | common_nn.py | 35 … result = _Reduction.legacy_get_string(getattr(m, 'sizeAverage', None), True, emit_warning=False)
|