Skip to content

Instantly share code, notes, and snippets.

View storyofhis's full-sized avatar
:octocat:
what do you need?

Maula Izza Azizi storyofhis

:octocat:
what do you need?
  • Bayarind
  • Jakarta, Indonesia
  • 16:17 (UTC +07:00)
  • LinkedIn in/mauladev
View GitHub Profile
@storyofhis
storyofhis / node_installation.sh
Created November 17, 2022 03:22
installing node with specific version (14.16.1) in MacOS
#!/bin/bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
source ~/.bashrc
check=nvm -v
echo "install nvm successfully", $check
node {
name: "normalized_input_image_tensor"
op: "Placeholder"
attr {
key: "dtype"
value {
type: DT_FLOAT
}
}
attr {