MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / __init__

Method __init__

mapping/src/se3pose.py:9–13  ·  view source on GitHub ↗
(self, init_pose)

Source from the content-addressed store, hash-verified

7
8class OptimizablePose(nn.Module):
9 def __init__(self, init_pose):
10 super().__init__()
11 assert (isinstance(init_pose, torch.FloatTensor))
12 self.register_parameter('data', nn.Parameter(init_pose))
13 self.data.required_grad_ = True
14
15 def copy_from(self, pose):
16 self.data = deepcopy(pose.data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected