@jjmerelo
concat
if len(values) == 1:
with ops.name_scope(name) as scope:
ops.convert_to_tensor(
axis, name="concat_dim",
dtype=dtypes.int32).get_shape().assert_is_compatible_with(
tensor_shape.scalar())
return identity(values[0], name=scope)
return gen_array_ops.concat_v2(values=values, axis=axis, name=name)
NVIDIA Edge Stack is an optimized software stack that includes NVIDIA drivers, a CUDA® Kubernetes plug-in, a CUDA Docker container runtime, CUDA-X libraries, and containerized AI frameworks and applications
By Zinskauf - Own work, CC
BY-SA 4.0, Link
By DARPA SyNAPSE - http://www.darpa.mil/NewsEvents/Releases/2014/08/07.aspx, Public Domain, Link
github.com/jofrfu/tinyTPU
Castillo, Pedro Angel, et al. "Evolutionary system for prediction and optimization of hardware architecture performance." 2008 IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence). IEEE, 2008.
KarvPrime/NeuroNet
for ; activeWorkers > 0; activeWorkers-- {
id := <-core.outputChannel
if mode == "train" {
for index, element := range core.networks[id].GetState() {
core.connections[index].AddWeighedDiff(core.state[index].GetState(), element.GetState(), activeWorkers)
}
}
}
az group create -l westeurope -n CCGroupEU
az vm create -g CCGroupEU -n bobot --image UbuntuLTS
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"location": { "value": "westeurope" },
"accountType": { "value": " Standard_LRS" },
"kind": { "value": "StorageV2" },
"accessTier": { "value": "Cool" },
"supportsHttpsTrafficOnly": { "value": true }
}
}
Vagrant.configure("2") do |config|
config.vm.define 'public' do |public|
public.vm.box = "debian/stretch64"
public.vm.network "private_network", ip: "192.168.0.10"
end
config.vm.define 'db' do |db|
db.vm.box = "fnando/dev-xenial64"
db.vm.network "private_network", ip: "192.168.0.11"
end
end
- hosts: "{{target}}"
sudo: yes
tasks:
- name: install prerrequisites
command: apt-get update -y && apt-get upgrade -y
command: apt-get install aptitude python-apt -y
- name: install packages
apt: pkg={{ item}}
with_items:
- git
- curl
- build-essential
- libssl-dev
- nodejs
- npm
- name: Create links
command: ln -s /usr/bin/nodejs /usr/bin/node
ignore_errors: yes
- name: Create profile
copy: content="export PAPERTRAIL_PORT={{PAPERTRAIL_PORT}}; export PAPERTRAIL_HOST={{PAPERTRAIL_HOST}}" dest=/home/cloudy/.profile
FROM rabbitmq:latest
LABEL version="0.1" maintainer='jjmerelo@gmail.com'
RUN apt-get update && apt-get upgrade -y && apt-get install -y python3 python3-pip
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1\
&& update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
ADD requirements.txt ./
RUN pip3 install --no-cache-dir -r requirements.txt
WORKDIR /home/app
ADD create-user-rmq.sh cliente-con-celery.py PlatziAgenda.py PlatziTareas.py SlackComandos.py PlatziSlack.py ./
RUN mkdir data
ADD data/cursos.json data/cursos.json
CMD ./create-user-rmq.sh && celery -A PlatziTareas worker --loglevel=info & ./cliente-con-celery.py
RUN apk add --no-cache curl bash openjdk8-jre python3 py-pip nss \
&& chmod +x *.sh \
&& wget https://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz \
&& tar -xvzf spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz \
&& mv spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION} spark \
&& rm spark-${SPARK_VERSION}-bin-hadoop${HADOOP_VERSION}.tgz
const uriBase =
"https://westcentralus.api.cognitive.microsoft.com/face/v1.0/detect"
const imageUrl =
"https://upload.wikimedia.org/wikipedia/commons/3/37/Dagestani_man_and_woman.jpg"
const params = "?returnFaceAttributes=age,gender,headPose,smile,facialHair," +
"glasses,emotion,hair,makeup,occlusion,accessories,blur,exposure,noise"
const uri = uriBase + params
const imageUrlEnc = "{\"url\":\"" + imageUrl + "\"}"
// .. later
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Ocp-Apim-Subscription-Key", subscriptionKey)
resp, err := client.Do(req)
os:
- linux
services:
- docker
install:
- util/travis-build.sh
script:
- util/travis-test.sh
matrix:
include:
- env: BUILDENV=whateverable
- env: BUILDENV=docker
apiVersion: v1
kind: Pod
metadata:
name: twocontainers
spec:
containers:
- name: sise
image: mhausenblas/simpleservice:0.5.0
ports:
- containerPort: 9876
- name: shell
image: centos:7
command:
- "bin/bash"
- "-c"
- "sleep 10000"
module.exports.hello = async (event, context) => {
return {
statusCode: 200,
body: JSON.stringify({
message: 'Expecto Petronum',
input: event,
}),
};
};
Image by Diddharth Mittal