embed

embed(
poly: Poly,
client_graph: Graph,
embedding_method: Literal['Default', 'Minor', 'Clique', 'Parallel'] | EmbeddingMethod = EmbeddingMethod.Default,
embedding_timeout: timedelta = datetime.timedelta(seconds=10),
chain_strength: float = 1.0,
) tuple[amplify.Poly, list[numpy.ndarray[dtype=uint32]], list[tuple[int, int]]]

embed

パラメータ:
  • poly (Poly)

  • client_graph (Graph)

  • embedding_method (Literal['Default', 'Minor', 'Clique', 'Parallel'] | amplify.EmbeddingMethod) -- Defaults to EmbeddingMethod.Default.

  • embedding_timeout (timedelta) -- Defaults to datetime.timedelta(seconds=10).

  • chain_strength (float) -- Defaults to 1.0.

戻り値の型:

tuple[Poly, list[ndarray[dtype=uint32]], list[tuple[int, int]]]