Skip to content

Instantly share code, notes, and snippets.

View omrylcn's full-sized avatar
🎯
Focusing

Ömer Yalçın omrylcn

🎯
Focusing
  • İstanbul
View GitHub Profile
FROM ubuntu:18.04
# Paket listelerini download et
RUN apt-get update
# python3 and jupyter-lab paketini yükle
RUN apt-get install -y python3
# python paket yükleyicisi
RUN apt-get install -y python3-pip
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@omrylcn
omrylcn / create_hellotensor.py
Created September 27, 2018 01:41 — forked from omimo/create_hellotensor.py
A simple example for saving a tensorflow model and preparing it for using on Android
# Create a simple TF Graph
# By Omid Alemi - Jan 2017
# Works with TF <r1.0
import tensorflow as tf
I = tf.placeholder(tf.float32, shape=[None,3], name='I') # input
W = tf.Variable(tf.zeros_initializer(shape=[3,2]), dtype=tf.float32, name='W') # weights
b = tf.Variable(tf.zeros_initializer(shape=[2]), dtype=tf.float32, name='b') # biases
O = tf.nn.relu(tf.matmul(I, W) + b, name='O') # activation / output