Sha256: 66c8bed92ec901e3537e57a72ab4cc5c999a904a4e6839c4efc0a57c6c2c3f7e
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
module TensorFlow module Keras module Models class Sequential def initialize(layers = []) @layers = [] layers.each do |layer| add(layer) end end def add(layer) @layers << layer end def compile(optimizer: nil, loss: nil, metrics: nil) raise "Not implemented" end def fit(x, y, epochs: nil) raise "Not implemented" end def evaluate(x, y) raise "Not implemented" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tensorflow-0.1.2 | lib/tensorflow/keras/models/sequential.rb |
tensorflow-0.1.1 | lib/tensorflow/keras/models/sequential.rb |