mirror of
https://github.com/SillyTavern/SillyTavern-Extras.git
synced 2026-05-01 03:41:24 +00:00
Live2d Init
This commit is contained in:
9
live2d/tha3/compute/cached_computation_func.py
Normal file
9
live2d/tha3/compute/cached_computation_func.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from typing import Callable, Dict, List
|
||||
|
||||
from torch import Tensor
|
||||
from torch.nn import Module
|
||||
|
||||
TensorCachedComputationFunc = Callable[
|
||||
[Dict[str, Module], List[Tensor], Dict[str, List[Tensor]]], Tensor]
|
||||
TensorListCachedComputationFunc = Callable[
|
||||
[Dict[str, Module], List[Tensor], Dict[str, List[Tensor]]], List[Tensor]]
|
||||
Reference in New Issue
Block a user