Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ normalize_array_like
Function
normalize_array_like
torch/_numpy/_normalizations.py:43–46 ·
view source on GitHub ↗
(x, parm=None)
Source
from the content-addressed store, hash-verified
41
42
43
def
normalize_array_like(x, parm=None):
44
from
._ndarray
import
asarray
45
46
return
asarray(x).tensor
47
48
49
def
normalize_array_like_or_scalar(x, parm=None):
Callers
7
normalize_array_like_or_scalar
Function · 0.85
normalize_optional_array_like
Function · 0.85
normalize_seq_array_like
Function · 0.85
einsum
Function · 0.85
isscalar
Function · 0.85
histogramdd
Function · 0.85
__setitem__
Method · 0.85
Calls
1
asarray
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…