lukytorch 1.5__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.
- lukytorch-1.5/.idea/.gitignore +5 -0
- lukytorch-1.5/.idea/inspectionProfiles/Project_Default.xml +12 -0
- lukytorch-1.5/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- lukytorch-1.5/.idea/lukytorch.iml +8 -0
- lukytorch-1.5/.idea/modules.xml +8 -0
- lukytorch-1.5/.idea/pyProjectModel.xml +6 -0
- lukytorch-1.5/.idea/workspace.xml +52 -0
- lukytorch-1.5/PKG-INFO +7 -0
- lukytorch-1.5/lukytorch/__init__.py +1 -0
- lukytorch-1.5/lukytorch/engine.py +12 -0
- lukytorch-1.5/pyproject.toml +10 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="PyStubPackagesAdvertiser" enabled="true" level="WARNING" enabled_by_default="true">
|
|
5
|
+
<option name="ignoredPackages">
|
|
6
|
+
<list>
|
|
7
|
+
<option value="pandas" />
|
|
8
|
+
</list>
|
|
9
|
+
</option>
|
|
10
|
+
</inspection_tool>
|
|
11
|
+
</profile>
|
|
12
|
+
</component>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$" />
|
|
5
|
+
<orderEntry type="inheritedJdk" />
|
|
6
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
|
+
</component>
|
|
8
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/lukytorch.iml" filepath="$PROJECT_DIR$/.idea/lukytorch.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ChangeListManager">
|
|
4
|
+
<list default="true" id="53e2d777-e9cf-4a6c-ac41-31307018af99" name="Changes" comment="" />
|
|
5
|
+
<option name="SHOW_DIALOG" value="false" />
|
|
6
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
7
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
8
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
|
9
|
+
</component>
|
|
10
|
+
<component name="ProjectColorInfo"><![CDATA[{
|
|
11
|
+
"customColor": "",
|
|
12
|
+
"associatedIndex": 7
|
|
13
|
+
}]]></component>
|
|
14
|
+
<component name="ProjectId" id="3JCGk1hQgOhSB2ClVQYxElvDwIn" />
|
|
15
|
+
<component name="ProjectViewState">
|
|
16
|
+
<option name="hideEmptyMiddlePackages" value="true" />
|
|
17
|
+
<option name="showLibraryContents" value="true" />
|
|
18
|
+
</component>
|
|
19
|
+
<component name="PropertiesComponent"><![CDATA[{
|
|
20
|
+
"keyToString": {
|
|
21
|
+
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
22
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
23
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
24
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
25
|
+
"codeWithMe.voiceChat.enabledByDefault": "false",
|
|
26
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
27
|
+
"junie.onboarding.icon.badge.shown": "true",
|
|
28
|
+
"last_opened_file_path": "/Users/cedric/Desktop/lukytorch",
|
|
29
|
+
"to.speed.mode.migration.done": "true"
|
|
30
|
+
}
|
|
31
|
+
}]]></component>
|
|
32
|
+
<component name="SharedIndexes">
|
|
33
|
+
<attachedChunks>
|
|
34
|
+
<set>
|
|
35
|
+
<option value="bundled-python-sdk-50341a9f1f9c-c2ffad84badb-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-261.26222.68" />
|
|
36
|
+
</set>
|
|
37
|
+
</attachedChunks>
|
|
38
|
+
</component>
|
|
39
|
+
<component name="TaskManager">
|
|
40
|
+
<task active="true" id="Default" summary="Default task">
|
|
41
|
+
<changelist id="53e2d777-e9cf-4a6c-ac41-31307018af99" name="Changes" comment="" />
|
|
42
|
+
<created>1789157776154</created>
|
|
43
|
+
<option name="number" value="Default" />
|
|
44
|
+
<option name="presentableId" value="Default" />
|
|
45
|
+
<updated>1789157776154</updated>
|
|
46
|
+
</task>
|
|
47
|
+
<servers />
|
|
48
|
+
</component>
|
|
49
|
+
<component name="TypeScriptGeneratedFilesManager">
|
|
50
|
+
<option name="version" value="3" />
|
|
51
|
+
</component>
|
|
52
|
+
</project>
|
lukytorch-1.5/PKG-INFO
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .engine import *
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import torch
|
|
2
|
+
import torch.nn as nn
|
|
3
|
+
|
|
4
|
+
def init_model():
|
|
5
|
+
globals()['neurons'] = 64
|
|
6
|
+
globals()['input_data'] = torch.FloatTensor([[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0]])
|
|
7
|
+
real_neurons = globals()['neurons']
|
|
8
|
+
real_data = globals()['input_data']
|
|
9
|
+
model = nn.Sequential(nn.Linear(10, real_neurons), nn.ReLU(), nn.Linear(real_neurons,2))
|
|
10
|
+
prediction = model(real_data)
|
|
11
|
+
print(prediction)
|
|
12
|
+
init_model()
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "lukytorch"
|
|
7
|
+
version = "1.5"
|
|
8
|
+
dependencies = ["torch>=2.2.0", "numpy>=2.0.0"]
|
|
9
|
+
requires-python = ">=3.12"
|
|
10
|
+
authors = [{name = "Complex5ystems", email = "cedriku343@gmail.com"}]
|