onnxruntime/onnxruntime/contrib_ops/cpu/crop.cc
Ashwini Khade e7090d7202
move all removed exp ops to contrib ops (#786)
* move all removed exp ops to contrib ops

* fix cuda build failure

* bug fix

* move some tests to contrib ops + cosmetic changes

* Revert "move some tests to contrib ops + cosmetic changes"

This reverts commit 4cda9297e257a6f6b902724e8113bf5d5a62df29.
2019-04-09 22:26:48 -07:00

14 lines
333 B
C++

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "crop.h"
namespace onnxruntime {
namespace contrib {
ONNX_CPU_OPERATOR_KERNEL(
Crop,
1,
KernelDefBuilder().TypeConstraint("T", DataTypeImpl::GetTensorType<float>()),
Crop<float>);
}
} // namespace onnxruntime