"vscode:/vscode.git/clone" did not exist on "b80081022f9460df682116af08fe4687172b23ae"
replicate.pyi 342 Bytes
Newer Older
Mandeep Singh Baines's avatar
Mandeep Singh Baines committed
1
2
3
4
5
6
7
8
9
10
11
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.

from typing import List, Union, Sequence, TypeVar
from ..modules import Module
from .common_types import _devices_t

T = TypeVar('T')


def replicate(network: Module[T], devices: Union[_devices_t, Sequence[_devices_t]], detach: bool = ...) -> List[
    Module[T]]: ...