Skip to content

Commit 7e49e74

Browse files
authored
Whitespace updates and fixes (#201)
1 parent 2d8a301 commit 7e49e74

9 files changed

+7
-14
lines changed

.clang-format

-1
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,3 @@ Standard: Cpp11
114114
TabWidth: 8
115115
UseTab: Never
116116
...
117-

.github/CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ from the core team and contributions:
4848
> After the pull request is submitted, the maintainers will review your
4949
> contribution. This is a two-way conversation as well, with mutual feedback
5050
> and help in the hopes of getting the contribution ready to
51-
> be merged.
51+
> be merged.
5252
5353
6. Merging your contribution into the project.
5454

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ if(BUILD_TEST)
115115
set_target_properties(${test_name} PROPERTIES FOLDER tests)
116116
add_dependencies(RPU_CPU GTest)
117117
endforeach()
118-
endif()
118+
endif()

docs/source/api/aihwkit.simulator.rpu_base.devices.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ aihwkit.simulator.rpu\_base.devices module
55
:members:
66
:undoc-members:
77
:show-inheritance:
8-

docs/source/api/aihwkit.simulator.rpu_base.tiles.rst

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ aihwkit.simulator.rpu\_base.tiles module
55
:members:
66
:undoc-members:
77
:show-inheritance:
8-

docs/source/index.rst

-1
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,3 @@ Reference
107107
=========
108108

109109
:ref:`genindex` | :ref:`modindex` | :ref:`search`
110-

docs/source/using_experiments.rst

-1
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,3 @@ Retrieving a previous cloud experiment
224224
The list of experiments previously executed in the cloud can be retrieved via::
225225

226226
cloud_experiments = my_cloud_runner.list_experiments()
227-

docs/source/using_simulator.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -356,19 +356,17 @@ To enable mixed-precision one defines for example the following ``rpu_config``::
356356

357357
rpu_config = DigitalRankUpdateRPUConfig(
358358
device=SoftBoundsDevice(),
359-
360-
# make some adjustments of mixed-precision hyper parameter
359+
# make some adjustments of mixed-precision hyper parameter
361360
granularity=0.001,
362-
n_x_bins=15,
363-
n_d_bins=31,
361+
n_x_bins=15,
362+
n_d_bins=31,
364363
)
365364

366365
# use tile configuration in model
367366
model = AnalogLinear(4, 2, bias=True, rpu_config=rpu_config)
368367

369368
Now this analog tile will use the mixed-precision optimizer with a
370-
soft bounds device model.
371-
369+
soft bounds device model.
372370

373371
Analog presets
374372
--------------

src/aihwkit/cloud/converter/v1/mappings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class Mappings:
215215
LeakyReLU: Function('LeakyReLU', {
216216
'negative_slope': float
217217
}),
218-
LogSigmoid: Function('LogSimoid', {}),
218+
LogSigmoid: Function('LogSigmoid', {}),
219219
LogSoftmax: Function('LogSoftmax', {
220220
'dim': int
221221
}),

0 commit comments

Comments
 (0)