import tensorflow as tf
import numpy as np
x_input = np.array([[1,2,3,4,5]])
y_input = np.array([[10]])
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// You need to export first a notebook from Quiver (https://happenapps.com) to markdown. | |
// Use the directory path below to publish all the markdown files and the images to a WordPress site. | |
// Make sure you install lodash, wordpress and fs-extra. | |
// Set the ur, username and password of WordPress and run `node QuiverPublisher.js'. | |
// Note that images are deleted and recreated since the overwrite flag of the xmlrpc wp-method does not work. | |
const wordpress = require('wordpress'); | |
const fs = require('fs-extra'); | |
const _ = require('lodash'); | |
const path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 11.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
import torch
batch_size = 32
input_shape = 5
output_shape = 10