This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """mlflow integration for KerasTuner | |
| Copyright: Soundsensing AS, 2021 | |
| License: MIT | |
| """ | |
| import uuid | |
| import structlog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Key": { | |
| "Uuid": "d2a67bd8-5d3f-404e-b6e9-e350cf2a833f", | |
| "Effect": "" | |
| }, | |
| "Name": "Generated Curve Copy", | |
| "Preset": { | |
| "ObjectName": "CurveModel", | |
| "id": 45345, | |
| "Segments": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| LIS2DH accelerometer driver. | |
| Should also work with LIS3DH | |
| License: MIT | |
| Copyright: Soundsensing AS | |
| """ | |
| from machine import I2C, Pin | |
| import struct |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import machine | |
| from machine import Pin | |
| class PinInterruptCounter(): | |
| """Implementation of machine.Counter using standard pin interrupts""" | |
| def __init__(self, pin, edge=Pin.IRQ_RISING, callback=None): | |
| self._count = 0 | |
| self._pin = pin | |
| self._callback = callback | |
OlderNewer