Home
last modified time | relevance | path

Searched refs:legacy_get_string (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/torch/nn/
H A D_reduction.py32 def legacy_get_string( function
60 return get_enum(legacy_get_string(size_average, reduce, emit_warning))
H A Dfunctional.py3147 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 Dloss.py44 self.reduction: str = _Reduction.legacy_get_string(size_average, reduce)
/aosp_15_r20/external/pytorch/torch/testing/_internal/
H A Dcommon_nn.py35 … result = _Reduction.legacy_get_string(getattr(m, 'sizeAverage', None), True, emit_warning=False)