Class DnnParameters

  • All Implemented Interfaces:
    Serializable

    public class DnnParameters
    extends Object
    implements Serializable
    This class is container that stores parameters required for executing following operations: conv2d, conv2d_backward_data, conv2d_backward_filter, maxpooling, maxpooling_backward, lstm, lstm_backward
    See Also:
    Serialized Form
    • Field Detail

      • N

        public int N
      • C

        public int C
      • H

        public int H
      • W

        public int W
      • K

        public int K
      • R

        public int R
      • S

        public int S
      • P

        public int P
      • Q

        public int Q
      • D

        public int D
      • T

        public int T
      • M

        public int M
      • stride_h

        public int stride_h
      • stride_w

        public int stride_w
      • pad_h

        public int pad_h
      • pad_w

        public int pad_w
      • numThreads

        public int numThreads
      • enableNative

        public boolean enableNative
      • return_sequences

        public boolean return_sequences
      • start_indexes_h

        public int[] start_indexes_h
      • end_indexes_h

        public int[] end_indexes_h
      • start_indexes_w

        public int[] start_indexes_w
      • end_indexes_w

        public int[] end_indexes_w
      • minValForMaxPoolOperations

        public double minValForMaxPoolOperations
    • Method Detail

      • setIfUnknown

        public void setIfUnknown​(Hop N,
                                 Hop C,
                                 Hop H,
                                 Hop W,
                                 Hop K,
                                 Hop R,
                                 Hop S,
                                 Hop stride_h,
                                 Hop stride_w,
                                 Hop pad_h,
                                 Hop pad_w,
                                 int numThreads)
      • isOutputThreadSafe

        public boolean isOutputThreadSafe()
      • isStride1Pad0

        public boolean isStride1Pad0()
      • isAllOnes

        public boolean isAllOnes​(Integer... params)