Tutorial by Examples: n

A user is looking to use caffe for CNN training and testing. The user decides upon the CNN architecture design (e.g - No. of layers, No. of filters and their details etc). The user also decides the optimization technique for training and learning parameters in case training is to be carried out...
Send a message using GCM HTTP connection server protocol: https://gcm-http.googleapis.com/gcm/send Content-Type:application/json Authorization:key=AIzaSyZ-1u...0GBYzPu7Udno5aA { "to": "/topics/foo-bar", "data": { "message": "T...
SELECT DISTINCT o.name AS Object_Name,o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id=o.object_id WHERE m.definition Like '%myField%' ORDER BY 2,1 Will find mentions of myField in SProcs, Views, etc.
To get the current date and time, use the now function: julia> now() 2016-09-04T00:16:58.122 This is the local time, which includes the machine's configured time zone. To get the time in the Coordinated Universal Time (UTC) time zone, use now(Dates.UTC): julia> now(Dates.UTC) 2016-09-04...
VBA supports 2 different concatenation operators, + and & and both perform the exact same function when used with String types - the right-hand String is appended to the end of the left-hand String. If the & operator is used with a variable type other than a String, it is implicitly cast to...
TokenName                           Description=Equal toReturns True if the left-hand and right-hand operands are equal. Note that this is an overload of the assignment operator.<>Not equal toReturns True if the left-hand and right-hand operands are not equal.>Greater thanReturns True if th...
If you have an image and want to create a new image, with new dimensions, you can use imagecopyresampled function: first create a new image with desired dimensions: // new image $dst_img = imagecreatetruecolor($width, $height); and store the original image into a variable. To do so, you may us...
A comment is a way to put arbitrary text inside source code without having the C++ compiler interpret it with any functional meaning. Comments are used to give insight into the design or method of a program. There are two types of comments in C++: Single-Line Comments The double forward-slash seq...
Draper automatically matches up models with their decorators by convention. # app/decorators/user_decorator.rb class UserDecorator < Draper::Decorator def full_name "#{object.first_name} #{object.last_name}" end def created_at Time.use_zone(h.current_user.timezone...
Postscript is a dynamic-namespacing or LISP 1 language. But it provides the tools to implement local variables in procedures and other effects needed to implement algorithms. For local names in a procedure, make a new dictionary at the start and pop it at the end. /myproc { 10 dict begin ...
Detailed instructions on getting rails-activerecord set up or installed.
After finding an official Julia package, it is straightforward to download and install the package. Firstly, it's recommended to refresh the local copy of METADATA: julia> Pkg.update() This will ensure that you get the latest versions of all packages. Suppose that the package we want to inst...
Sometimes, the latest tagged version of a package is buggy or is missing some required features. Advanced users may wish to update to the latest development version of a package (sometimes referred to as the "master", named after the usual name for a development branch in Git). The benefit...
Some experimental packages are not included in the METADATA package repository. These packages can be installed by directly cloning their Git repositories. Note that there may be dependencies of unregistered packages that are themselves unregistered; those dependencies cannot be resolved by the pack...
Using an AppCompat theme, the ProgressBar's color will be the colorAccent you have defined. 5.0 To change the ProgressBar color without changing the accent color you can use theandroid:theme attribute overriding the accent color: <ProgressBar android:theme="@style/MyProgress" ...
According to Material Documentation: A linear progress indicator should always fill from 0% to 100% and never decrease in value. It should be represented by bars on the edge of a header or sheet that appear and disappear. To use a material Linear ProgressBar just use in your xml: <Progres...
This example covers common errors with using the 'java' command. "Command not found" If you get an error message like: java: command not found when trying to run the java command, this means that there is no java command on your shell's command search path. The cause could be: yo...
Animation curves allows you to change a float parameter as the animation plays. For example, if there is an animation of length 60 seconds and you want a float value/parameter, call it X, to vary through the animation (like at animation time = 0.0s; X = 0.0 , at animation time = 30.0s; X = 1.0, at...
Buttons are one of the simplest controls and mostly used for executing some code when the user wants. Here we have a really simple case, show a Message box when a button is clicked. We add a button to a form, name it cmdShowMessage as used in code to identify the object and set the buttons text to ...
WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases. WampServer is available for free (under GPML license) in two distinct versions : 32 and 64 bits. Wa...

Page 658 of 1088