DLPrimitives
upscale.hpp
1 #pragma once
2 #include <dlprim/tensor.hpp>
3 #include <dlprim/context.hpp>
4 namespace dlprim {
5 namespace core {
6  class Upscale {
7  public:
8  enum UpscaleType {
9  nearest = 0,
10  bilinear = 1
11  };
12  Upscale(Context &ctx,UpscaleType type,int scale,DataType dtype=float_data);
13  private:
14 
15  };
16 }
17 }
Definition: upscale.hpp:6
This is main object that represent the pair of OpenCL platform and device all other objects use it...
Definition: context.hpp:302
DataType
type definition
Definition: definitions.hpp:70
Mane namespace.
Definition: context.hpp:9