GameServerX / MLPY /Lib /site-packages /onnx /defs /operator_sets_training.h
Kano001's picture
Upload 2707 files
dc2106c verified
raw
history blame
518 Bytes
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "onnx/defs/schema.h"
namespace ONNX_NAMESPACE {
// Declare training operators.
// Iterate over schema from ai.onnx.training version 1
class OpSet_OnnxTraining_ver1 {
public:
static void ForEachSchema(std::function<void(OpSchema&&)> /* fn */) {}
};
// Register training operators.
inline void RegisterOnnxTrainingOperatorSetSchema() {
RegisterOpSetSchema<OpSet_OnnxTraining_ver1>();
}
} // namespace ONNX_NAMESPACE