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
# cmake for opengl projects | |
cmake_minimum_required(VERSION 3.12) | |
project(opengl_stuffs) | |
set(CMAKE_CXX_STANDARD 11) | |
find_package(OpenGL) | |
find_package(GLUT) | |
find_package(GLEW) |
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
import vtk | |
# The colors module defines various useful colors. | |
from vtk.util.colors import tomato | |
cylinder = vtk.vtkCylinderSource() | |
# the side of the cylinder is made up with 100 edges polygon | |
cylinder.SetResolution(100) |
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
Applicability: | |
1. model compilation requires implementation of compute output shape | |
2. model compilation requires homogeneous training data tensor shapes | |
3. model internal attributes is set by passing a defer tensor through model call | |
4. model compilation is more akin to tf graph mode |
OlderNewer