From fede6ca1dd0077ff509d84bd24028cc7a93bb119 Mon Sep 17 00:00:00 2001 From: StevenLiuWen Date: Tue, 13 Mar 2018 03:28:06 -0400 Subject: first commit --- .../src/ops/preprocessing/kernels/flow_augmentation.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Codes/flownet2/src/ops/preprocessing/kernels/flow_augmentation.h (limited to 'Codes/flownet2/src/ops/preprocessing/kernels/flow_augmentation.h') diff --git a/Codes/flownet2/src/ops/preprocessing/kernels/flow_augmentation.h b/Codes/flownet2/src/ops/preprocessing/kernels/flow_augmentation.h new file mode 100644 index 0000000..7795991 --- /dev/null +++ b/Codes/flownet2/src/ops/preprocessing/kernels/flow_augmentation.h @@ -0,0 +1,19 @@ +#ifndef FLOWNET_FLOW_AUG_H_ +#define FLOWNET_FLOW_AUG_H_ + +// See docs in ../ops/image_ops.cc. + +#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" +#include "tensorflow/core/framework/tensor_types.h" +#include "tensorflow/core/platform/types.h" + +namespace tensorflow { +template +void FillFlowAugmentation(const Device& device, + typename TTypes::Tensor output, + typename TTypes::ConstTensor flows, + typename TTypes::ConstTensor transforms_from_a, + typename TTypes::ConstTensor transforms_from_b); +} // end namespace tensorflow + +#endif // FLOWNET_FLOW_AUG_H_ -- cgit v1.2.3-70-g09d2