https://github.com/Microsoft/CNTK
Raw File
Tip revision: f7df3c1a18d8cf751923cb1f34fde578354762b9 authored by Mudit Jain on 22 November 2017, 22:43:35 UTC
stage python CR loss avg branch
Tip revision: f7df3c1
CNTKWarnFilters.i
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// CNTKWarnFilters.i -- define warnfilters common for Python, C# and Java
//

// This file contains common warnfilters for Python, C# and Java

// Disabling warning about constructor shadowing, learner tests check this.
%warnfilter(401, 509) CNTK::TrainingParameterSchedule;
%warnfilter(509) CNTK::NDArrayView::NDArrayView;

%warnfilter(315) CNTK::TrainingParameterSchedule;

// Disabling warning about movable constructor shadowing, io tests check this.
%warnfilter(509) CNTK::DictionaryValue::DictionaryValue;
%warnfilter(509) CNTK::Dictionary::Dictionary;

// Disabling warning about Trainer shadowing, trainer tests check this.
%warnfilter(509) TrainerImpl;

// Returning an immutable string by reference.
%warnfilter(473) CNTK::Function::OpName;

// Specialization of non-template function - hash,
// TODO: it is not clear how to limit this only to hash, but we do not use partial specialization in other places.
#pragma SWIG nowarn=-317

// Disabling enable_shared_from_this - we never use this class to actually access the object.
%warnfilter(401) CNTK::NDArrayView;
%warnfilter(401) CNTK::NDMask;
%warnfilter(401) CNTK::Function;
%warnfilter(401) CNTK::Internal::UDFDeserializeCallbackWrapper;
%warnfilter(401) CNTK::Trainer;
%warnfilter(401) CNTK::Evaluator;
%warnfilter(401) CNTK::Value;
%warnfilter(401) CNTK::BackPropState;
%warnfilter(401) CNTK::MinibatchSource;

%warnfilter(401, 509) CNTK::MomentumAsTimeConstantSchedule;

%warnfilter(340) CNTK::NoOp;
back to top