Tutorial by Examples

This is the most basic example, with the easiest calculations. Let's assume your input and kernel are: When you your kernel you will receive the following output: , which is calculated in the following way: 14 = 4 * 1 + 3 * 0 + 1 * 1 + 2 * 2 + 1 * 1 + 0 * 0 + 1 * 0 + 2 * 0 + 4 * 1 6 = 3 * 1 ...
Padding is just a fancy name of telling: surround your input matrix with some constant. In most of the cases the constant is zero and this is why people call it zero padding. So if you want to use a padding of 1 in our original input (check the first example with padding=0, strides=1), the matrix wi...
Now we will apply a strided convolution to our previously described padded example and calculate the convolution where p = 1, s = 2 Previously when we used strides = 1, our slided window moved by 1 position, with strides = s it moves by s positions (you need to calculate s^2 elements less. But in...
Creating a LUIS Model requires little to no programming experience. However, you need to be familiar with 2 important terms that will be used extensively. Intents - These are how you identify functions that need to be executed when the user types in something. Eg - An intent named Hi will identif...
using Xunit; namespace MyFirstUnitTests { public class TestClass { [Fact] public void PassingTest() { Assert.Equal(4, Add(2, 2)); } [Fact] public void FailingTest() { Assert.Equal(5, Add(2, 2)); ...
Parallel Testing with Appium using GRID: I will describe the way which worked for me. Create Selenium Grid with Appium Setup the selenium grid Download selenium standalone server jar on local file system Open your terminal and navigate to the directory to where you placed the jar file and exe...
A-Frame can be developed from a plain HTML file without having to install anything! A great way to try out A-Frame to remix the starter example on Glitch, an online code editor that instantly hosts and deploys for free. Or create an .html file and include A-Frame in the head: <html> <he...
What Are Notification Channels? Notification channels enable us app developers to group our notifications into groups—channels—with the user having the ability to modify notification settings for the entire channel at once. For example, for each channel, users can completely block all notifications...
Public: public val name = "Avijit" Private: private val name = "Avijit" Protected: protected val name = "Avijit" Internal: internal val name = "Avijit"
The following permissions are required to use the Bluetooth APIs: android.permission.BLUETOOTH android.permission.BLUETOOTH_ADMIN If you're targeting devices with Android 6.0 (API Level 23) or higher and want to perform scanning/advertising operations you will require a Location permission: a...
Once you have discovered a desired BluetoothDevice object, you can connect to it by using its connectGatt() method which takes as parameters a Context object, a boolean indicating whether to automatically connect to the BLE device and a BluetoothGattCallback reference where connection events and cli...
Once you are connected to a Gatt Server, you're going to be interacting with it by writing and reading from the server's characteristics. To do this, first you have to discover what services are available on this server and which characteristics are avaiable in each service: @Override public voi...
You can request to be notified from the Gatt Server when the value of a characteristic has been changed: gatt.setCharacteristicNotification(characteristic, true); BluetoothGattDescriptor descriptor = characteristic.getDescriptor( UUID.fromString("00002902-0000-1000-8000-00805f9b34fb&quot...
You can use Bluetooth LE Advertising to broadcast data packages to all nearby devices without having to establish a connection first. Bear in mind that there's a strict limit of 31 bytes of advertisement data. Advertising your device is also the first step towards letting other users connect to you....
In order for your device to act as a peripheral, first you need to open a BluetoothGattServer and populate it with at least one BluetoothGattService and one BluetoothGattCharacteristic: BluetoothGattServer server=bluetoothManager.openGattServer(context, bluetoothGattServerCallback); BluetoothGat...
from requests import post foo = post('http://httpbin.org/post', data = {'key':'value'}) Will perform a simple HTTP POST operation. Posted data can be inmost formats, however key value pairs are most prevalent. Headers Headers can be viewed: print(foo.headers) An example response: {'Cont...
An entity is the information that your bot extracts from a particular utterance conforming to an intent. Eg- Let My name is John Doe belong to an intent called introduction. For your bot to understand and extract the name John Doe from the sentence, you need to define an entity which does so. You c...
Detailed instructions on getting angularjs-ng-repeat set up or installed.
VR Made Simple Just drop in a script tag and a-scene. A-Frame will handle 3D boilerplate, VR setup, and default controls. Nothing to install, no build steps. Declarative HTML HTML is easy to read, understand, and copy-and-paste. Being based on top of HTML, A-Frame is accessible to everyone: web d...
The installation is quite simple as there are seperate installers for MacOS and Windows machines available here. Currently two versions are for download: one beta and one stable. Setup will start after you downloaded the program and you´ll need to login with your GitHub credentials. That is really ...

Page 1256 of 1336