MCPcopy Create free account
hub / github.com/OpenMined/SyMPC / method

Method method

src/sympc/tensor/share_tensor.py:477–482  ·  view source on GitHub ↗
(
            _self: "ShareTensor", *args: List[Any], **kwargs: Dict[Any, Any]
        )

Source from the content-addressed store, hash-verified

475 return res
476
477 def method(
478 _self: "ShareTensor", *args: List[Any], **kwargs: Dict[Any, Any]
479 ) -> Any:
480 method = getattr(_self.tensor, method_name)
481 res = method(*args, **kwargs)
482 return res
483
484 if method_name in METHODS_NEW_SHARE_TENSOR:
485 res = method_new_share_tensor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected