Returns tensor of a variable node, i.e., eye(n) across axes 0 and 1, where n is the size of the variable.
(self, shape: tuple[int, ...], variable_id: int)
| 982 | |
| 983 | @abstractmethod |
| 984 | def get_variable_tensor(self, shape: tuple[int, ...], variable_id: int) -> Any: |
| 985 | """ |
| 986 | Returns tensor of a variable node, i.e., eye(n) across axes 0 and 1, where n is |
| 987 | the size of the variable. |
| 988 | """ |
| 989 | pass # noqa |
| 990 | |
| 991 | @abstractmethod |
| 992 | def get_data_tensor(self, data: Any) -> Any: |
no outgoing calls