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 <string> | |
#include <memory> | |
#include <iostream> | |
#include <llvm/IR/LLVMContext.h> | |
#include <llvm/Support/TargetSelect.h> | |
#include <llvm/Bitcode/ReaderWriter.h> | |
#include <llvm/ExecutionEngine/ExecutionEngine.h> | |
#include <llvm/Support/MemoryBuffer.h> | |
#include "llvm/Support/SourceMgr.h" |
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
figure(100000); | |
I=im2double(image); | |
imagesc(image); | |
% make grid coordinate matrices expressed in polar coordinates | |
for degree=1:20:200 | |
disp(degree) | |
L = size(I,1); | |
X = -1:2/(L-1):1; |
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
sentences(docid text, sentid text, wordidxs text[], words text[], poses text[], ners text[], lemmas text[], dep_paths text[], dep_parents text[], bounding_boxes text[]). | |
sentences_serialized(docid text, sentid text, wordidxs text, words text, poses text, ners text, lemmas text, dep_paths text, dep_parents text, bounding_boxes text). | |
documents(docid text, sentids text[], wordidxs text[], words text[], poses text[], ners text[], lemmas text[], dep_paths text[], dep_parents text[], bounding_boxes text[]). | |
documents_serialized(docid text, sentids text, wordidxs text, words text, poses text, ners text, lemmas text, dep_paths text, dep_parents text, bounding_boxes text). | |
entity_formation_candidate_local (docid text, type text, eid text, entity text, prov text). |
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
// Copyright 2014 Hazy Research (http://i.stanford.edu/hazy) | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
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/python | |
import mahotas | |
import os | |
import numpy | |
from numpy import * | |
Stride = 4 | |
#Resolutions = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 227] | |
Resolutions = [11, 15, 47, 55, 87, 119] |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <x86intrin.h> | |
#include "timer.h" | |
#include "cblas.h" |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <x86intrin.h> | |
#include "timer.h" | |
#include "cblas.h" |
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
FORWARD | |
LOSS: 0 | |
# MODEL BLOBS = 2 | |
BLOB 0 # ELEMENTS 34848 | |
START | |
0 -> 0 | |
1 -> 0 | |
2 -> 0 | |
3 -> 0 | |
4 -> 0 |
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
czhang@raiders3:~/home/deepnet/tests$ ./test | |
==28149== ERROR: AddressSanitizer failed to allocate 0xdfff0001000 (15392894357504) bytes at address 0x02008fff7000 (12) | |
==28149== ReserveShadowMemoryRange failed while trying to map 0xdfff0001000 bytes. Perhaps you're using ulimit -v | |
Aborted (core dumped) |
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 "../src/Kernel.h" | |
#include "../src/LogicalCube.h" | |
#include "../src/Layer.h" | |
#include "../src/config.h" | |
#include "../src/Connector.h" | |
#include "../src/bridges/ParallelizedConvolutionBridge.h" | |
#include "test_types.h" | |
#include "gtest/gtest.h" | |
// #include "glog/logging.h" | |
#include <iostream> |