bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
pytorch_custom_model.cpp File Reference
#include "bitrl/base/bitrl_config.h"
#include "bitrl/base/bitrl_log.h"
#include "bitrl/base/bitrl_types.h"
#include "bitsim/utils/io/json_file_reader.h"
#include "bitsim/utils/iteration_counter.h"
#include <torch/torch.h>
#include <fstream>
#include <iostream>
#include <memory>
#include <random>
#include <string>
Include dependency graph for pytorch_custom_model.cpp:

Classes

class  intro_example_4::LogisticRegressionModelImpl
class  intro_example_4::IterationCounter
 The IterationCounter class. More...
class  intro_example_4::JSONFileReader

Namespaces

namespace  intro_example_4

Typedefs

using intro_example_4::real_t
 real_t
typedef torch::Tensor intro_example_4::torch_tensor_t
 torch_tensor_t
using intro_example_4::uint_t
 uint_t

Functions

 intro_example_4::TORCH_MODULE (LogisticRegressionModel)
int main ()

Variables

const std::string intro_example_4::CONFIG = "config.json"

Function Documentation

◆ main()

int main ( )