[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/2php/CaffeOnACL/master/src/caffe/layers/log_layer.cpp [Back]  [Original]

#include 

#include "caffe/layers/log_layer.hpp"
#include "caffe/util/math_functions.hpp"

namespace caffe {

template 
void LogLayer::LayerSetUp(const vector& bottom,
      const vector& top) {
  NeuronLayer::LayerSetUp(bottom, top);
  const Dtype base = this->layer_param_.log_param().base();
  if (base != Dtype(-1)) {
    CHECK_GT(base, 0) 

Web Proxy Viewer  |  New URL  |  Original Page