MCPcopy Create free account
hub / github.com/DeepGraphLearning/DiffPack / sample_train_t

Method sample_train_t

diffpack/schedule.py:135–144  ·  view source on GitHub ↗

Sample timesteps for training. Args: shape (tuple): shape of the output tensor Returns: Tensor: sampled timesteps

(self, shape)

Source from the content-addressed store, hash-verified

133
134 @abstractmethod
135 def sample_train_t(self, shape):
136 """Sample timesteps for training.
137
138 Args:
139 shape (tuple): shape of the output tensor
140
141 Returns:
142 Tensor: sampled timesteps
143 """
144 pass
145
146 @property
147 @abstractmethod

Callers 1

forwardMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected