32 std::vector<Componant*> componants;
34 Parallel(std::vector<Componant*> componantsIn = std::vector<Componant*>());
38 virtual std::complex<fvalue> execute(fvalue omaga)
override;
39 virtual char getComponantChar()
const override;
40 virtual std::string getComponantString(
bool currentValue =
true)
const override;
41 static constexpr char staticGetComponantChar(){
return 'd';}
42 virtual std::string componantName()
const override {
return "Parallel";}
43 virtual bool compileable()
override;
44 virtual std::string getCode(std::vector<std::string>& parameters)
override;
45 virtual std::string getTorchScript(std::vector<std::string>& parameters)
override;
51 std::vector<Componant*> componants;
53 Serial(std::vector<Componant*> componantsIn = std::vector<Componant*>());
55 void operator=(
const Serial& in);
57 virtual std::complex<fvalue> execute(fvalue omaga)
override;
58 virtual char getComponantChar()
const override;
59 virtual std::string getComponantString(
bool currentValue =
true)
const override;
60 static constexpr char staticGetComponantChar(){
return 's';}
61 virtual std::string componantName()
const override {
return "Serial";}
62 virtual bool compileable()
override;
63 virtual std::string getCode(std::vector<std::string>& parameters)
override;
64 virtual std::string getTorchScript(std::vector<std::string>& parameters)
override;