This file contains 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
import tensorflow as tf | |
from tensorflow.keras.layers import Input | |
from tensorflow.keras.layers import Dense | |
from tensorflow.keras.models import Model | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import tensorflow.keras.backend as K | |
x = Input(shape=[5]) | |
h = Dense(10)(x) |
This file contains 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
<div class="checkbox checkbox-creative float-left"> | |
<label> | |
<input type="checkbox" name="sezione[]" value="2"> | |
<span class="checkbox-item"> | |
<span class="check"> | |
</span></span> | |
</label><label> | |
<input type="checkbox" name="sezione[]" value="3"> | |
<span class="checkbox-item"><span class="check"> | |
</span></span> </label> |
This file contains 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
// | |
// DayCellView.swift | |
// T-Shifts | |
// | |
// Created by Roberto Esposito on 09/02/2017. | |
// Copyright © 2017 Roberto Esposito. All rights reserved. | |
// | |
import Foundation | |
import JTAppleCalendar |
This file contains 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
// Example of how to build a propositional logic | |
// reasoner in swift. | |
typealias VarIndex = Int | |
typealias TruthValue = Bool | |
typealias Env = [VarIndex : TruthValue] | |
typealias Expr = (Env) -> TruthValue | |