MCPcopy
hub / github.com/dmlc/dgl / dtype

Method dtype

python/dgl/frame.py:300–304  ·  view source on GitHub ↗

Return the effective data type of this Column

(self)

Source from the content-addressed store, hash-verified

298
299 @property
300 def dtype(self):
301 """Return the effective data type of this Column"""
302 if self.deferred_dtype is not None:
303 return self.deferred_dtype
304 return self.storage.dtype
305
306 def astype(self, new_dtype):
307 """Return a new column such that when its data is requested,

Callers 15

_gspmmFunction · 0.45
_gspmm_heteroFunction · 0.45
_gsddmmFunction · 0.45
_gsddmm_heteroFunction · 0.45
_segment_reduceFunction · 0.45
_scatter_addFunction · 0.45
_bwd_segment_cmpFunction · 0.45
reshuffle_graphFunction · 0.45
get_inner_edgeFunction · 0.45
infer_schemeFunction · 0.45
add_edgesMethod · 0.45

Calls

no outgoing calls

Tested by 7

test_more_nnzFunction · 0.36
_get_subgraph_batch_infoFunction · 0.36
assert_dataFunction · 0.36
start_clientFunction · 0.36
check_partitionFunction · 0.36