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
#!/usr/bin/env python3 | |
""" | |
This is a docstring. | |
""" | |
import argparse | |
import logging | |
import os | |
import sys |
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
#!/usr/bin/env python3 | |
import pandas as pd | |
import plotly.express as px | |
from sklearn.datasets import load_iris | |
import dash | |
from dash import dcc, html | |
# Load the Iris dataset |
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
package com.example.handlerthread; | |
import android.os.Handler; | |
import android.os.HandlerThread; | |
import android.os.Looper; | |
import android.util.Log; | |
public class ExampleHandlerThread extends HandlerThread { | |
private static final String TAG = "ExampleLooperThread"; |
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
Install TensorFlow GPU and PyTorch GPU on a NVIDIA Graphics Card available computer. |
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
#include <cstdio> | |
#include "cuda.h" | |
__global__ | |
void loop_on_device() | |
{ | |
printf("Device(GPU) iteration number %d\n", blockIdx.x * blockDim.x + threadIdx.x); | |
} | |
void loop_on_host(int length) |