mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
Revert "Adding missing attribute *alpha* to FusedConv schema." (#182)
This reverts commit 3f4e62a49c.
This commit is contained in:
parent
3f4e62a49c
commit
7560538c94
1 changed files with 0 additions and 62 deletions
|
|
@ -32,63 +32,6 @@ void RegisterContribSchemas() {
|
|||
Sample echo operator.)DOC");
|
||||
|
||||
// register schemas for more operators here
|
||||
ONNX_CONTRIB_OPERATOR_SCHEMA(ConvMaxPool)
|
||||
.SetDomain(kMSDomain)
|
||||
.SinceVersion(1)
|
||||
.SetDoc(R"DOC(
|
||||
Port Conv1D::ComputeConvMaxPoolWithActivationAndMask() method in TP3L1 c++ model.)DOC")
|
||||
.Attr(
|
||||
"auto_pad",
|
||||
"",
|
||||
AttributeProto::STRING,
|
||||
std::string("NOTSET"))
|
||||
.Attr(
|
||||
"kernel_shape",
|
||||
"",
|
||||
AttributeProto::INTS,
|
||||
OPTIONAL)
|
||||
.Attr(
|
||||
"dilations",
|
||||
"",
|
||||
AttributeProto::INTS,
|
||||
OPTIONAL)
|
||||
.Attr(
|
||||
"strides", "", AttributeProto::INTS, OPTIONAL)
|
||||
.Attr("pads",
|
||||
"",
|
||||
AttributeProto::INTS, OPTIONAL)
|
||||
.Attr(
|
||||
"group",
|
||||
"",
|
||||
AttributeProto::INT,
|
||||
static_cast<int64_t>(1))
|
||||
.Attr(
|
||||
"activation",
|
||||
"",
|
||||
AttributeProto::STRING,
|
||||
OPTIONAL)
|
||||
.Input(
|
||||
0,
|
||||
"X",
|
||||
"",
|
||||
"T")
|
||||
.Input(
|
||||
1,
|
||||
"W",
|
||||
"",
|
||||
"T")
|
||||
.Input(2, "B", "", "T", OpSchema::Optional)
|
||||
.Input(3, "M", "mask", "T", OpSchema::Optional)
|
||||
.Output(
|
||||
0,
|
||||
"Y",
|
||||
"",
|
||||
"T")
|
||||
.TypeConstraint("T", {"tensor(float16)", "tensor(float)", "tensor(double)"}, "Constrain input and output types to float tensors")
|
||||
.TypeAndShapeInferenceFunction([](ONNX_NAMESPACE::InferenceContext& ctx) {
|
||||
ONNX_NAMESPACE::convPoolTypeAndShapeInference(ctx, false, true);
|
||||
});
|
||||
|
||||
ONNX_CONTRIB_OPERATOR_SCHEMA(FusedConv)
|
||||
.SetDomain(kMSDomain)
|
||||
.SinceVersion(1)
|
||||
|
|
@ -125,11 +68,6 @@ activation.)DOC")
|
|||
"",
|
||||
AttributeProto::STRING,
|
||||
OPTIONAL)
|
||||
.Attr(
|
||||
"alpha",
|
||||
"",
|
||||
AttributeProto::FLOAT,
|
||||
OPTIONAL)
|
||||
.Input(
|
||||
0,
|
||||
"X",
|
||||
|
|
|
|||
Loading…
Reference in a new issue