Added .clang-format file and formatted everything
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
f731f2e55c
commit
24cd307042
47 changed files with 5157 additions and 4354 deletions
|
|
@ -1,19 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <Array.hpp>
|
||||
#include <Godot.hpp>
|
||||
#include <Node2D.hpp>
|
||||
#include <Array.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "kompute/Kompute.hpp"
|
||||
|
||||
namespace godot {
|
||||
class KomputeModelML : public Node2D {
|
||||
private:
|
||||
class KomputeModelML : public Node2D
|
||||
{
|
||||
private:
|
||||
GODOT_CLASS(KomputeModelML, Node2D);
|
||||
|
||||
public:
|
||||
public:
|
||||
KomputeModelML();
|
||||
|
||||
void train(Array y, Array xI, Array xJ);
|
||||
|
|
@ -27,7 +28,7 @@ public:
|
|||
|
||||
static void _register_methods();
|
||||
|
||||
private:
|
||||
private:
|
||||
std::shared_ptr<kp::Tensor> mWeights;
|
||||
std::shared_ptr<kp::Tensor> mBias;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue