mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-24 19:43:35 +00:00
* 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.
14 lines
333 B
C++
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
|