public class DarknetHelper extends Object
Constructor and Description |
---|
DarknetHelper() |
Modifier and Type | Method and Description |
---|---|
static ComputationGraphConfiguration.GraphBuilder |
addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder,
int layerNumber,
int filterSize,
int nIn,
int nOut,
int poolSize) |
static ComputationGraphConfiguration.GraphBuilder |
addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder,
int layerNumber,
int filterSize,
int nIn,
int nOut,
int poolSize,
int poolStride) |
static ComputationGraphConfiguration.GraphBuilder |
addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder,
int layerNumber,
String input,
int filterSize,
int nIn,
int nOut,
int poolSize,
int poolStride) |
static int |
getGridHeight(int[] inputShape)
Returns
inputShape[2] / 32 , where inputShape[2] should be a multiple of 32. |
static int |
getGridWidth(int[] inputShape)
Returns
inputShape[1] / 32 , where inputShape[1] should be a multiple of 32. |
public static int getGridWidth(int[] inputShape)
inputShape[1] / 32
, where inputShape[1]
should be a multiple of 32.public static int getGridHeight(int[] inputShape)
inputShape[2] / 32
, where inputShape[2]
should be a multiple of 32.public static ComputationGraphConfiguration.GraphBuilder addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder, int layerNumber, int filterSize, int nIn, int nOut, int poolSize)
public static ComputationGraphConfiguration.GraphBuilder addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder, int layerNumber, int filterSize, int nIn, int nOut, int poolSize, int poolStride)
public static ComputationGraphConfiguration.GraphBuilder addLayers(ComputationGraphConfiguration.GraphBuilder graphBuilder, int layerNumber, String input, int filterSize, int nIn, int nOut, int poolSize, int poolStride)
Copyright © 2019. All rights reserved.