OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
threading_serial::task_group Class Reference

#include <threading_serial.h>

Public Member Functions

template<typename F >
void run (F &&f)
void cancel ()
void wait ()

Detailed Description

Definition at line 22 of file threading_serial.h.

Member Function Documentation

void threading_serial::task_group::cancel ( )

Definition at line 28 of file threading_serial.h.

28  { /*not implemented*/
29  }
template<typename F >
void threading_serial::task_group::run ( F &&  f)

Definition at line 25 of file threading_serial.h.

References f().

25  {
26  f();
27  }
torch::Tensor f(torch::Tensor x, torch::Tensor W_target, torch::Tensor b_target)

+ Here is the call graph for this function:

void threading_serial::task_group::wait ( )

Definition at line 30 of file threading_serial.h.

30 {}

The documentation for this class was generated from the following file: