Sha256: 4063049b748dbba9ce4d764482b0d17275bef6c86fd5716343175da86ffe4373
Contents?: true
Size: 321 Bytes
Versions: 9
Compression:
Stored size: 321 Bytes
Contents
TensorStream::OpMaker.define_operation :sigmoid do |op| op.what_it_does "Computes sigmoid of x element-wise." op.parameter :input_a, "tensor X", validate: 'FLOATING_POINT_TYPES' op.option :name, "Optional name", :nil op.define_gradient do |grad, _node, params| i_op(:sigmoid_grad, params[0], grad) end end
Version data entries
9 entries across 9 versions & 1 rubygems