MCPcopy Index your code
hub / github.com/apple/ml-pointersect / masked_fill

Method masked_fill

pointersect/inference/structures.py:1102–1104  ·  view source on GitHub ↗
(self, mask: torch.Tensor, ray_src: 'Ray')

Source from the content-addressed store, hash-verified

1100 return Ray(**out_dict)
1101
1102 def masked_fill(self, mask: torch.Tensor, ray_src: 'Ray'):
1103 self.origins_w[mask] = ray_src.origins_w[mask]
1104 self.directions_w[mask] = ray_src.directions_w[mask]
1105
1106 @property
1107 def dtype(self):

Callers 12

plot_multiple_imagesFunction · 0.80
fit_hyperplaneFunction · 0.80
plane_ray_intersectionFunction · 0.80
_stepMethod · 0.80
_visualize_gt_estMethod · 0.80
intersect_pcd_and_rayFunction · 0.80
compare_rgbd_imagesFunction · 0.80
get_pcdMethod · 0.80
save_as_rtmvMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected