Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved structure-learning back to main branch
- Loading branch information
Showing
56 changed files
with
573 additions
and
2,872 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
/* GENERATED BY make_primitives_header.py in Makefile. DO NOT EDIT */ | ||
|
||
|
||
const int NUM_OPS=12; | ||
const int NUM_OPS=13; | ||
|
||
|
||
|
||
enum OPS { NOOP_=0,X_=1,ZERO_=2,ONE_=3,EXP_=4,LOG_=5,NEG_=6,MUL_=7,POW_=8,ADD_=9,DIV_=10,SUB_=11}; | ||
enum OPS { NOOP_=0,CONSTANT_=1,X_=2,ZERO_=3,ONE_=4,EXP_=5,LOG_=6,NEG_=7,MUL_=8,POW_=9,ADD_=10,DIV_=11,SUB_=12}; | ||
|
||
|
||
|
||
__device__ const int NARGS[] = {0, 0,0,0,1,1,1,2,2,2,2,2 }; | ||
const int hNARGS[] = {0, 0,0,0,1,1,1,2,2,2,2,2 }; | ||
const char* NAMES[] = { "<NA>", "x","zero","one","exp","log","neg","mul","pow","add","div","sub" }; | ||
__device__ const int NARGS[] = {0, 0,0,0,0,1,1,1,2,2,2,2,2 }; | ||
const int hNARGS[] = {0, 0,0,0,0,1,1,1,2,2,2,2,2 }; | ||
const char* NAMES[] = { "<NA>", "constant","x","zero","one","exp","log","neg","mul","pow","add","div","sub" }; | ||
|
||
// Non-defined primitives, used potentially by print_program_as_expression | ||
|
||
#define CONSTANT_ -991 |
This file contains 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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains 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
File renamed without changes.
Oops, something went wrong.