AlienChen's picture
download
raw
434 Bytes
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the CC-by-NC license found in the
# LICENSE file in the root directory of this source tree.
from abc import ABC, abstractmethod
from torch import nn, Tensor
class Solver(ABC, nn.Module):
"""Abstract base class for solvers."""
@abstractmethod
def sample(self, x_0: Tensor = None) -> Tensor:
...

Xet Storage Details

Size:
434 Bytes
·
Xet hash:
35c37dee9e263f35148a5a1e607c3c2ccc77ca85915e362fa8da9f2c308517d9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.