https://github.com/Microsoft/CNTK
Raw File
Tip revision: 57bc5fb448c0b74b13d0134b55e40d195e7f38f0 authored by Eldar Akchurin on 26 June 2017, 11:47:29 UTC
More fixes
Tip revision: 57bc5fb
Constants.h
// Constants.h -- the constants used by CNTK
//

#pragma once

#ifndef _CONSTANTS_H_
#define _CONSTANTS_H_

// Constants used in SGD distributed gradient aggregation.
// The default threshold size to pack a gradient into a continuous buffer during aggregation for less MPI ops.
const size_t DEFAULT_PACK_THRESHOLD_SIZE_IN_KB = 32;
const size_t DEFAULT_PACK_THRESHOLD_SIZE_IN_BYTES = DEFAULT_PACK_THRESHOLD_SIZE_IN_KB * 1024;

#endif
back to top