MCPcopy Create free account
hub / github.com/TencentARC/Track4World / assert_same_shape

Function assert_same_shape

track4world/utils/basic.py:63–68  ·  view source on GitHub ↗

Asserts that two tensors have the same shape. Useful for debugging element-wise operations.

(t1: torch.Tensor, t2: torch.Tensor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

reduce_masked_meanFunction · 0.85
reduce_masked_medianFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected