Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ imag
Method
imag
torch/_numpy/_ndarray.py:278–279 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
276
277
@property
278
def
imag(self):
279
return
_funcs.imag(self)
280
281
@imag.setter
282
def
imag(self, value):
Callers
10
imag
Function · 0.80
isinf
Function · 0.80
isreal
Function · 0.80
test_metadata_check_check_conj
Method · 0.80
test_imag_noncomplex
Method · 0.80
test_complex_type_conversions
Method · 0.80
test_normal
Method · 0.80
standardize_phase
Method · 0.80
test_real
Method · 0.80
test_cmplx
Method · 0.80
Calls
1
asarray
Function · 0.85
Tested by
7
test_metadata_check_check_conj
Method · 0.64
test_imag_noncomplex
Method · 0.64
test_complex_type_conversions
Method · 0.64
test_normal
Method · 0.64
standardize_phase
Method · 0.64
test_real
Method · 0.64
test_cmplx
Method · 0.64