python/scannerpy/database.py
def load_op(self, so_path, proto_path=None):
        """
        Loads a custom op into the Scanner runtime.

        By convention, if the op requires arguments from Python, it must
        have a protobuf message called <OpName>Args, e.g. BlurArgs or
        HistogramArgs, and the path to that protobuf should be provided.

        Args:
            so_path: Path to the custom op's shared object file.

        Kwargs:
            proto_path: Path to the custom op's arguments protobuf
                        if one exists.
        """
        if proto_path is not None:
            self.protobufs.add_module(proto_path)
        op_path = self.protobufs.OpPath()
        op_path.path = so_path
        self._try_rpc(lambda: self._master.LoadOp(op_path))

        Loads a custom op into the Scanner runtime.

        By convention, if the op requires arguments from Python, it must
        have a protobuf message called <OpName>Args, e.g. BlurArgs or
        HistogramArgs, and the path to that protobuf should be provided.

        Args:
            so_path: Path to the custom op's shared object file.

        Kwargs:
            proto_path: Path to the custom op's arguments protobuf
                        if one exists.
        
Loads a custom op into the Scanner runtime.
By convention, if the op requires arguments from Python, it must
have a protobuf message called Args, e.g. BlurArgs or
HistogramArgs, and the path to that protobuf should be provided.
Loads a custom op into the Scanner runtime . By convention if the op requires arguments from Python it must have a protobuf message called Args e . g . BlurArgs or HistogramArgs and the path to that protobuf should be provided .
def load_op(self, so_path, proto_path=None):
        if proto_path is not None:
            self.protobufs.add_module(proto_path)
        op_path = self.protobufs.OpPath()
        op_path.path = so_path
        self._try_rpc(lambda: self._master.LoadOp(op_path))
def load_op ( self , so_path , proto_path = None ) : if proto_path is not None : self . protobufs . add_module ( proto_path ) op_path = self . protobufs . OpPath ( ) op_path . path = so_path self . _try_rpc ( lambda : self . _master . LoadOp ( op_path ) )
Loads a custom op into the Scanner runtime.
Loads a custom op into the Scanner runtime .
"""
        Loads a custom op into the Scanner runtime.

        By convention, if the op requires arguments from Python, it must
        have a protobuf message called <OpName>Args, e.g. BlurArgs or
        HistogramArgs, and the path to that protobuf should be provided.

        Args:
            so_path: Path to the custom op's shared object file.

        Kwargs:
            proto_path: Path to the custom op's arguments protobuf
                        if one exists.
        """
self
so_path
Path to the custom op's shared object file.
Path to the custom op ' s shared object file .
proto_path