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
from keras.models import load_model | |
from keras.layers import Input, Dense | |
from tensorflow import Tensor | |
from keras import backend as K | |
from keras.engine import InputLayer | |
model = load_model('MyModel.h5') | |
for layer in model.layers: | |
print layer |
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
let spriteKitScene = SKScene(size: CGSize(width: 1276.0 / 2.0, height: 712.0 / 2.0)) | |
var videoSpriteKitNode:SKVideoNode? | |
let videoNode = SCNNode() | |
videoNode.geometry = SCNPlane(width: videoNodeWidth, height: videoNodeHeight) | |
// using SpriteKit scene with videonode inside | |
// | |
spriteKitScene.scaleMode = .AspectFit | |
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 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
/* | |
* libMobileGestalt header. | |
* Mobile gestalt functions as a QA system. You ask it a question, and it gives you the answer! :) | |
* | |
* Copyright (c) 2013-2014 Cykey (David Murray) | |
* All rights reserved. | |
*/ | |
#ifndef LIBMOBILEGESTALT_H_ | |
#define LIBMOBILEGESTALT_H_ |
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
jQuery(function($) { | |
// returns an array of the potential selector components for the first element in the jQuery object. IDs, classes, and tagNames only. | |
var getSelectorComponents = function($el) { | |
var components = []; | |
var id = $el.attr('id'); | |
if (typeof(id)!='undefined' && /[^\s]/.test(id)) { | |
components.push('#'+id); | |
} |