netcl 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {netcl-0.2.2/netcl.egg-info → netcl-0.2.3}/PKG-INFO +1 -1
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/__init__.py +14 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/ops.py +1253 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/__init__.py +11 -2
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/layers.py +142 -1
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/loss.py +58 -0
- {netcl-0.2.2 → netcl-0.2.3/netcl.egg-info}/PKG-INFO +1 -1
- {netcl-0.2.2 → netcl-0.2.3}/pyproject.toml +1 -1
- {netcl-0.2.2 → netcl-0.2.3}/LICENSE +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/MANIFEST.in +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/README.md +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/README_PACKAGE.md +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/amp.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/compiler.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/debug.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/engine.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/forward_compiler.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/graph.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/autograd/training_compiler.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/backend/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/backend/base.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/backend/cpu.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/backend/opencl.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/capabilities.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/device.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/device_profile.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/kernel_selector.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/kernels/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/kernels/primitives.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/memory.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/parameter.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/shape.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/core/tensor.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/data/augment.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/data/augment_gpu.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/data/dataloader.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/data/filters.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/data/shared_batch.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/distributed/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/distributed/collectives.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/distributed/data_parallel.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/distributed/device_manager.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/distributed/trainer.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/io/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/io/checkpoint.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/io/serialization.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/batchnorm.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/decorators.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/factory.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/functional.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/groupnorm.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/init.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/layernorm.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/modules.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/padding.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/pooling.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/residual.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/resnet.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/nn/simple.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/bmm.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/broadcast.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/conv2d.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/conv2d_cpu.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/conv2d_optimized.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/conv2d_planner.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/conv_transpose2d.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/depthwise_conv2d.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/elementwise.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/elementwise_optimized.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/fused_ops.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/im2col.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/jit_fusion.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/matmul.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/matmul_optimized.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/permute.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/reduction.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/softmax.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/softmax_fp16.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/softmax_fused.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/transpose.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/ops/winograd_fused.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/_utils.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/adam.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/adamw.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/amp.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/clip.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/lr_plateau.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/lr_scheduler.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/momentum.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/rmsprop.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/optim/sgd.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/profiling/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/profiling/autotuner.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/profiling/timing.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/cache.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/capture.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/graph.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/graph_fusion.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/perf.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/runtime/scheduler.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/trainer/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/trainer/trainer.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/utils/__init__.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/utils/data.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl/utils/progress.py +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl.egg-info/SOURCES.txt +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl.egg-info/dependency_links.txt +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl.egg-info/requires.txt +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/netcl.egg-info/top_level.txt +0 -0
- {netcl-0.2.2 → netcl-0.2.3}/setup.cfg +0 -0
|
@@ -82,6 +82,13 @@ from .ops import (
|
|
|
82
82
|
permute,
|
|
83
83
|
bmm,
|
|
84
84
|
softmax,
|
|
85
|
+
triplet_loss,
|
|
86
|
+
info_nce_loss,
|
|
87
|
+
pairwise_squared_distances,
|
|
88
|
+
batch_hard_triplet_loss,
|
|
89
|
+
l2_normalize,
|
|
90
|
+
contrastive_loss,
|
|
91
|
+
batch_all_triplet_loss,
|
|
85
92
|
)
|
|
86
93
|
|
|
87
94
|
__all__ = [
|
|
@@ -164,6 +171,13 @@ __all__ = [
|
|
|
164
171
|
"permute",
|
|
165
172
|
"bmm",
|
|
166
173
|
"softmax",
|
|
174
|
+
"triplet_loss",
|
|
175
|
+
"info_nce_loss",
|
|
176
|
+
"pairwise_squared_distances",
|
|
177
|
+
"batch_hard_triplet_loss",
|
|
178
|
+
"l2_normalize",
|
|
179
|
+
"contrastive_loss",
|
|
180
|
+
"batch_all_triplet_loss",
|
|
167
181
|
"debug_tape",
|
|
168
182
|
"set_current_tape",
|
|
169
183
|
"get_current_tape",
|