repo stringlengths 1 152 ⌀ | file stringlengths 14 221 | code stringlengths 501 25k | file_length int64 501 25k | avg_line_length float64 20 99.5 | max_line_length int64 21 134 | extension_type stringclasses 2
values |
|---|---|---|---|---|---|---|
null | mempool-main/toolchain/riscv-isa-sim/riscv/simif.h | // See LICENSE for license details.
#ifndef _RISCV_SIMIF_H
#define _RISCV_SIMIF_H
#include "decode.h"
// this is the interface to the simulator used by the processors and memory
class simif_t
{
public:
// should return NULL for MMIO addresses
virtual char* addr_to_mem(reg_t addr) = 0;
// used for MMIO addresse... | 652 | 25.12 | 76 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/debug_module.h | // See LICENSE for license details.
#ifndef _RISCV_DEBUG_MODULE_H
#define _RISCV_DEBUG_MODULE_H
#include <set>
#include "devices.h"
class sim_t;
typedef struct {
// Size of program_buffer in 32-bit words, as exposed to the rest of the
// world.
unsigned progbufsize;
unsigned max_bus_master_bits;
... | 4,692 | 23.442708 | 79 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/opcodes.h | #include "encoding.h"
#define ZERO 0
#define T0 5
#define S0 8
#define S1 9
static uint32_t bits(uint32_t value, unsigned int hi, unsigned int lo) {
return (value >> lo) & ((1 << (hi+1-lo)) - 1);
}
static uint32_t bit(uint32_t value, unsigned int b) {
return (value >> b) & 1;
}
static uint32_t ja... | 7,422 | 28.692 | 100 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vnclip_wv.h | // vnclip: vd[i] = clip(round(vs2[i] + rnd) >> vs1[i])
VRM xrm = P.VU.get_vround_mode();
int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
VI_VVXI_LOOP_NARROW
({
int128_t result = vs2;
unsigned shift = vs1 & ((sew * 2) - 1);
// rounding
INT_ROUNDING(result, xrm, ... | 546 | 20.038462 | 54 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmvnfr_v.h | // vmv1r.v vd, vs2
require_vector_novtype(true, true);
const reg_t baseAddr = RS1;
const reg_t vd = insn.rd();
const reg_t vs2 = insn.rs2();
const reg_t len = insn.rs1() + 1;
require_align(vd, len);
require_align(vs2, len);
const reg_t size = len * P.VU.vlenb;
//register needs one-by-one copy to keep commitlog correct... | 732 | 25.178571 | 63 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vnclip_wi.h | // vnclip: vd[i] = clip(round(vs2[i] + rnd) >> simm)
VRM xrm = P.VU.get_vround_mode();
int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
VI_VVXI_LOOP_NARROW
({
int128_t result = vs2;
unsigned shift = zimm5 & ((sew * 2) - 1);
// rounding
INT_ROUNDING(result, xrm, ... | 547 | 20.076923 | 52 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmsof_m.h | // vmsof.m rd, vs2, vm
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
require_vector(true);
require(P.VU.vstart == 0);
require_vm;
require(insn.rd() != insn.rs2());
reg_t vl = P.VU.vl;
reg_t rd_num = insn.rd();
reg_t rs2_num = insn.rs2();
bool has_one = false;
for (reg_t i = P.VU.vstart ; i < vl; ++i) {
const int mi... | 817 | 25.387097 | 75 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfncvt_x_f_w.h | // vfncvt.x.f.w vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<float16_t>(rs2_num, i);
P.VU.elt<int8_t>(rd_num, i, true) = f16_to_i8(vs2, STATE.frm, true);
},
{
auto vs2 = P.VU.elt<float32_t>(rs2_num, i);
P.VU.elt<int16_t>(rd_num, i, true) = f32_to_i16(vs2, STATE.frm, true);
},
{
auto vs2 = P.VU.elt<floa... | 578 | 22.16 | 72 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfwcvt_f_xu_v.h | // vfwcvt.f.xu.v vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<uint8_t>(rs2_num, i);
P.VU.elt<float16_t>(rd_num, i, true) = ui32_to_f16(vs2);
},
{
auto vs2 = P.VU.elt<uint16_t>(rs2_num, i);
P.VU.elt<float32_t>(rd_num, i, true) = ui32_to_f32(vs2);
},
{
auto vs2 = P.VU.elt<uint32_t>(rs2_num, i);
P.VU.el... | 533 | 20.36 | 58 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vrgather_vv.h | // vrgather.vv vd, vs2, vs1, vm # vd[i] = (vs1[i] >= VLMAX) ? 0 : vs2[vs1[i]];
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
require_align(insn.rs1(), P.VU.vflmul);
require(insn.rd() != insn.rs2() && insn.rd() != insn.rs1());
require_vm;
VI_LOOP_BASE
switch (sew) {
case e8: {
a... | 1,047 | 30.757576 | 99 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfncvt_xu_f_w.h | // vfncvt.xu.f.w vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<float16_t>(rs2_num, i);
P.VU.elt<uint8_t>(rd_num, i, true) = f16_to_ui8(vs2, STATE.frm, true);
},
{
auto vs2 = P.VU.elt<float32_t>(rs2_num, i);
P.VU.elt<uint16_t>(rd_num, i, true) = f32_to_ui16(vs2, STATE.frm, true);
},
{
auto vs2 = P.VU.elt... | 585 | 22.44 | 74 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vnclipu_wi.h | // vnclipu: vd[i] = clip(round(vs2[i] + rnd) >> simm)
VRM xrm = P.VU.get_vround_mode();
uint64_t uint_max = UINT64_MAX >> (64 - P.VU.vsew);
uint64_t sign_mask = UINT64_MAX << P.VU.vsew;
VI_VVXI_LOOP_NARROW
({
uint128_t result = vs2_u;
unsigned shift = zimm5 & ((sew * 2) - 1);
// rounding
INT_ROUNDING(result, x... | 509 | 20.25 | 53 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfncvt_rtz_xu_f_w.h | // vfncvt.rtz.xu.f.w vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<float16_t>(rs2_num, i);
P.VU.elt<uint8_t>(rd_num, i, true) = f16_to_ui8(vs2, softfloat_round_minMag, true);
},
{
auto vs2 = P.VU.elt<float32_t>(rs2_num, i);
P.VU.elt<uint16_t>(rd_num, i, true) = f32_to_ui16(vs2, softfloat_round_minMag, tru... | 628 | 24.16 | 87 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vpopc_m.h | // vmpopc rd, vs2, vm
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
require_vector(true);
reg_t vl = P.VU.vl;
reg_t sew = P.VU.vsew;
reg_t rd_num = insn.rd();
reg_t rs2_num = insn.rs2();
require(P.VU.vstart == 0);
reg_t popcount = 0;
for (reg_t i=P.VU.vstart; i<vl; ++i) {
const int midx = i / 32;
const int mpos = i... | 611 | 24.5 | 75 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfmv_s_f.h | // vfmv_s_f: vd[0] = rs1 (vs2=0)
require_vector(true);
require_fp;
require((P.VU.vsew == e16 && p->supports_extension(EXT_ZFH)) ||
(P.VU.vsew == e32 && p->supports_extension('F')) ||
(P.VU.vsew == e64 && p->supports_extension('D')));
require(STATE.frm < 0x5);
reg_t vl = P.VU.vl;
if (vl > 0 && P.VU.vst... | 752 | 24.1 | 63 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmv_x_s.h | // vmv_x_s: rd = vs2[rs1]
require_vector(true);
require(insn.v_vm() == 1);
uint64_t xmask = UINT64_MAX >> (64 - P.get_max_xlen());
reg_t rs1 = RS1;
reg_t sew = P.VU.vsew;
reg_t rs2_num = insn.rs2();
if (!(rs1 >= 0 && rs1 < (P.VU.get_vlen() / sew))) {
WRITE_RD(0);
} else {
switch(sew) {
case e8:
WRITE_RD(P.VU... | 697 | 20.8125 | 57 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmulhsu_vv.h | // vmulhsu.vv vd, vs2, vs1
VI_CHECK_SSS(true);
VI_LOOP_BASE
switch(sew) {
case e8: {
auto &vd = P.VU.elt<int8_t>(rd_num, i, true);
auto vs2 = P.VU.elt<int8_t>(rs2_num, i);
auto vs1 = P.VU.elt<uint8_t>(rs1_num, i);
vd = ((int16_t)vs2 * (uint16_t)vs1) >> sew;
break;
}
case e16: {
auto &vd = P.VU.elt<int16_t>... | 917 | 22.538462 | 48 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfmerge_vfm.h | // vfmerge_vf vd, vs2, vs1, vm
VI_CHECK_SSS(false);
VI_VFP_COMMON;
switch(P.VU.vsew) {
case e16:
for (reg_t i=P.VU.vstart; i<vl; ++i) {
auto &vd = P.VU.elt<float16_t>(rd_num, i, true);
auto rs1 = f16(READ_FREG(rs1_num));
auto vs2 = P.VU.elt<float16_t>(rs2_num, i);
int midx = i / 64;
... | 1,265 | 23.823529 | 67 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmsif_m.h | // vmsif.m rd, vs2, vm
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
require_vector(true);
require(P.VU.vstart == 0);
require_vm;
require(insn.rd() != insn.rs2());
reg_t vl = P.VU.vl;
reg_t rd_num = insn.rd();
reg_t rs2_num = insn.rs2();
bool has_one = false;
for (reg_t i = P.VU.vstart ; i < vl; ++i) {
const int mi... | 867 | 25.30303 | 75 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfncvt_rtz_x_f_w.h | // vfncvt.rtz.x.f.w vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<float16_t>(rs2_num, i);
P.VU.elt<int8_t>(rd_num, i, true) = f16_to_i8(vs2, softfloat_round_minMag, true);
},
{
auto vs2 = P.VU.elt<float32_t>(rs2_num, i);
P.VU.elt<int16_t>(rd_num, i, true) = f32_to_i16(vs2, softfloat_round_minMag, true);
}... | 621 | 23.88 | 85 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmsbf_m.h | // vmsbf.m vd, vs2, vm
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
require_vector(true);
require(P.VU.vstart == 0);
require_vm;
require(insn.rd() != insn.rs2());
reg_t vl = P.VU.vl;
reg_t rd_num = insn.rd();
reg_t rs2_num = insn.rs2();
bool has_one = false;
for (reg_t i = P.VU.vstart; i < vl; ++i) {
const int mid... | 851 | 24.818182 | 74 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vrgather_vi.h | // vrgather.vi vd, vs2, zimm5 vm # vd[i] = (zimm5 >= VLMAX) ? 0 : vs2[zimm5];
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
require(insn.rd() != insn.rs2());
require_vm;
reg_t zimm5 = insn.v_zimm5();
VI_LOOP_BASE
for (reg_t i = P.VU.vstart; i < vl; ++i) {
VI_LOOP_ELEMENT_SKIP();
... | 860 | 26.774194 | 103 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vmulhsu_vx.h | // vmulhsu.vx vd, vs2, rs1
VI_CHECK_SSS(false);
VI_LOOP_BASE
switch(sew) {
case e8: {
auto &vd = P.VU.elt<int8_t>(rd_num, i, true);
auto vs2 = P.VU.elt<int8_t>(rs2_num, i);
uint8_t rs1 = RS1;
vd = ((int16_t)vs2 * (uint16_t)rs1) >> sew;
break;
}
case e16: {
auto &vd = P.VU.elt<int16_t>(rd_num, i, true);
a... | 826 | 20.205128 | 48 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/viota_m.h | // vmpopc rd, vs2, vm
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
require_vector(true);
reg_t vl = P.VU.vl;
reg_t sew = P.VU.vsew;
reg_t rd_num = insn.rd();
reg_t rs1_num = insn.rs1();
reg_t rs2_num = insn.rs2();
require(P.VU.vstart == 0);
require_vm;
require_align(rd_num, P.VU.vflmul);
require_noover(rd_num, P.VU.vf... | 1,407 | 25.074074 | 74 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vsmul_vv.h | // vsmul.vv vd, vs2, vs1
VRM xrm = P.VU.get_vround_mode();
int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
int64_t sign_mask = uint64_t(1) << (P.VU.vsew - 1);
VI_VV_LOOP
({
int64_t vs1_sign;
int64_t vs2_sign;
int64_t result_sign;
vs1_sign = vs1 & sign_mask;
... | 708 | 20.484848 | 51 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vcompress_vm.h | // vcompress vd, vs2, vs1
require(P.VU.vstart == 0);
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
require(insn.rd() != insn.rs2());
require_noover(insn.rd(), P.VU.vflmul, insn.rs1(), 1);
reg_t pos = 0;
VI_GENERAL_LOOP_BASE
const int midx = i / 64;
const int mpos = i % 64;
bool... | 869 | 24.588235 | 77 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vrgather_vx.h | // vrgather.vx vd, vs2, rs1, vm # vd[i] = (rs1 >= VLMAX) ? 0 : vs2[rs1];
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
require(insn.rd() != insn.rs2());
require_vm;
reg_t rs1 = RS1;
VI_LOOP_BASE
switch (sew) {
case e8:
P.VU.elt<uint8_t>(rd_num, i, true) = rs1 >= P.VU.vlmax ? 0... | 752 | 29.12 | 99 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vnclip_wx.h | // vnclip: vd[i] = clip(round(vs2[i] + rnd) >> rs1[i])
VRM xrm = P.VU.get_vround_mode();
int64_t int_max = INT64_MAX >> (64 - P.VU.vsew);
int64_t int_min = INT64_MIN >> (64 - P.VU.vsew);
VI_VVXI_LOOP_NARROW
({
int128_t result = vs2;
unsigned shift = rs1 & ((sew * 2) - 1);
// rounding
INT_ROUNDING(result, xrm, ... | 547 | 20.076923 | 54 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vrgatherei16_vv.h | // vrgatherei16.vv vd, vs2, vs1, vm # vd[i] = (vs1[i] >= VLMAX) ? 0 : vs2[vs1[i]];
float vemul = (16.0 / P.VU.vsew * P.VU.vflmul);
require(vemul >= 0.125 && vemul <= 8);
require_align(insn.rd(), P.VU.vflmul);
require_align(insn.rs2(), P.VU.vflmul);
require_align(insn.rs1(), vemul);
require_noover(insn.rd(), P.VU.vflmul... | 1,136 | 31.485714 | 99 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vslide1up_vx.h | //vslide1up.vx vd, vs2, rs1
VI_CHECK_SLIDE(true);
VI_LOOP_BASE
if (i != 0) {
if (sew == e8) {
VI_XI_SLIDEUP_PARAMS(e8, 1);
vd = vs2;
} else if(sew == e16) {
VI_XI_SLIDEUP_PARAMS(e16, 1);
vd = vs2;
} else if(sew == e32) {
VI_XI_SLIDEUP_PARAMS(e32, 1);
vd = vs2;
} else if(sew == e64) {
... | 681 | 21 | 46 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/sret.h | require_extension('S');
if (STATE.v) {
if (STATE.prv == PRV_U || get_field(STATE.hstatus, HSTATUS_VTSR))
require_novirt();
} else {
require_privilege(get_field(STATE.mstatus, MSTATUS_TSR) ? PRV_M : PRV_S);
}
reg_t next_pc = (STATE.v) ? p->get_state()->vsepc : p->get_state()->sepc;
set_pc_and_serialize(next_pc);... | 681 | 31.47619 | 75 | h |
null | mempool-main/toolchain/riscv-isa-sim/riscv/insns/vfwcvt_f_x_v.h | // vfwcvt.f.x.v vd, vs2, vm
VI_VFP_CVT_SCALE
({
auto vs2 = P.VU.elt<int8_t>(rs2_num, i);
P.VU.elt<float16_t>(rd_num, i, true) = i32_to_f16(vs2);
},
{
auto vs2 = P.VU.elt<int16_t>(rs2_num, i);
P.VU.elt<float32_t>(rd_num, i, true) = i32_to_f32(vs2);
},
{
auto vs2 = P.VU.elt<int32_t>(rs2_num, i);
P.VU.elt<floa... | 526 | 20.08 | 57 | h |
null | mempool-main/toolchain/riscv-isa-sim/customext/dummy_rocc_test.c | // The following is a RISC-V program to test the functionality of the
// dummy RoCC accelerator.
// Compile with riscv64-unknown-elf-gcc dummy_rocc_test.c
// Run with spike --extension=dummy_rocc pk a.out
#include <assert.h>
#include <stdio.h>
#include <stdint.h>
int main() {
uint64_t x = 123, y = 456, z = 0;
// ... | 977 | 31.6 | 72 | c |
null | mempool-main/toolchain/riscv-isa-sim/debug_rom/debug_rom.h | static const unsigned char debug_rom_raw[] = {
0x6f, 0x00, 0xc0, 0x00, 0x6f, 0x00, 0x00, 0x06, 0x6f, 0x00, 0x80, 0x03,
0x0f, 0x00, 0xf0, 0x0f, 0x73, 0x10, 0x24, 0x7b, 0x73, 0x24, 0x40, 0xf1,
0x23, 0x20, 0x80, 0x10, 0x03, 0x44, 0x04, 0x40, 0x13, 0x74, 0x14, 0x00,
0x63, 0x14, 0x04, 0x02, 0x73, 0x24, 0x40, 0xf1, 0... | 816 | 57.357143 | 73 | h |
null | mempool-main/hardware/deps/idma/src/frontends/mempool/mempool_dma_frontend.h | // Generated register defines for mempool_dma_frontend
// Copyright information found in source file:
// Copyright 2022 ETH Zurich and University of Bologna.
// Licensing information found in source file:
// Licensed under Solderpad Hardware License, Version 0.51, see LICENSE for details.
// SPDX-License-Identifier: ... | 1,458 | 29.395833 | 84 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_memutil_verilator/cpp/verilator_memutil.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_CPP_VERILATOR_MEMUTIL_H_
#define OPENTITAN_HW_DV_VERILATOR_CPP_VERILATOR_MEMUTIL_H_
//
// A wrapper class that converts a DpiMemutil in... | 1,278 | 30.195122 | 75 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/dpi_memutil.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_CPP_DPI_MEMUTIL_H_
#define OPENTITAN_HW_DV_VERILATOR_CPP_DPI_MEMUTIL_H_
#include <map>
#include <memory>
#include <string>
#include <sv... | 5,549 | 31.45614 | 80 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/ranged_map.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_CPP_RANGED_MAP_H_
#define OPENTITAN_HW_DV_VERILATOR_CPP_RANGED_MAP_H_
// Utility class representing disjoint segments of memory
#inclu... | 6,956 | 37.65 | 79 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/mem_area.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_CPP_MEM_AREA_H_
#define OPENTITAN_HW_DV_VERILATOR_CPP_MEM_AREA_H_
#include <cstdint>
#include <string>
#include <vector>
// This is t... | 5,925 | 39.589041 | 79 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/sv_scoped.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_CPP_SV_SCOPED_H_
#define OPENTITAN_HW_DV_VERILATOR_CPP_SV_SCOPED_H_
#include <cassert>
#include <stdexcept>
#include <string>
#include... | 1,734 | 29.982143 | 80 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/sim_ctrl_extension.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_SIM_CTRL_EXTENSION_H_
#define OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_SIM_CTRL_EXTENSION_H_
class SimCtr... | 1,154 | 26.5 | 79 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/verilated_toplevel.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_VERILATED_TOPLEVEL_H_
#define OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_VERILATED_TOPLEVEL_H_
#ifndef TOPL... | 4,749 | 29.448718 | 80 | h |
null | mempool-main/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/verilator_sim_ctrl.h | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_VERILATOR_SIM_CTRL_H_
#define OPENTITAN_HW_DV_VERILATOR_SIMUTIL_VERILATOR_CPP_VERILATOR_SIM_CTRL_H_
#include <ch... | 6,289 | 23.86166 | 79 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/dataset/semantic_kitti/utils/nearest_neighbors/knn_.h |
#include <cstdlib>
void cpp_knn(const float* points, const size_t npts, const size_t dim,
const float* queries, const size_t nqueries,
const size_t K, long* indices);
void cpp_knn_omp(const float* points, const size_t npts, const size_t dim,
const float* queries, const size_t nqueries,
const size_t K, ... | 1,159 | 41.962963 | 124 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/cpp/pointnet2_batch/src/interpolate_gpu.h | #ifndef _INTERPOLATE_GPU_H
#define _INTERPOLATE_GPU_H
#include <torch/serialize/tensor.h>
#include<vector>
#include <cuda.h>
#include <cuda_runtime_api.h>
void three_nn_wrapper_fast(int b, int n, int m, at::Tensor unknown_tensor,
at::Tensor known_tensor, at::Tensor dist2_tensor, at::Tensor idx_tensor);
void thre... | 1,111 | 34.870968 | 100 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/cpp/pointnet2_batch/src/sampling_gpu.h | #ifndef _SAMPLING_GPU_H
#define _SAMPLING_GPU_H
#include <torch/serialize/tensor.h>
#include <ATen/cuda/CUDAContext.h>
#include<vector>
int gather_points_wrapper_fast(int b, int c, int n, int npoints,
at::Tensor points_tensor, at::Tensor idx_tensor, at::Tensor out_tensor);
void gather_points_kernel_launcher_fa... | 982 | 31.766667 | 86 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/cpp/pointnet2_batch/src/group_points_gpu.h | #ifndef _GROUP_POINTS_GPU_H
#define _GROUP_POINTS_GPU_H
#include <torch/serialize/tensor.h>
#include <cuda.h>
#include <cuda_runtime_api.h>
#include <vector>
int group_points_wrapper_fast(int b, int c, int n, int npoints, int nsample,
at::Tensor points_tensor, at::Tensor idx_tensor, at::Tensor out_tensor);
voi... | 794 | 33.565217 | 91 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/cpp/pointops/src/cuda_utils.h | #ifndef _CUDA_UTILS_H
#define _CUDA_UTILS_H
#include <cmath>
#include <algorithm>
#define TOTAL_THREADS 1024
#define THREADS_PER_BLOCK 256
#define DIVUP(m, n) ((m) / (n) + ((m) % (n) > 0))
inline int opt_n_threads(int work_size) {
const int pow_2 = std::log(static_cast<double>(work_size)) / std::log(2.0);
r... | 645 | 25.916667 | 93 | h |
null | ULIP-main/models/pointnext/PointNeXt/openpoints/cpp/pointops/src/ballquery/ballquery_cuda_kernel.h | #ifndef _BALL_QUERY_GPU_H
#define _BALL_QUERY_GPU_H
#include <vector>
#include <torch/serialize/tensor.h>
#include <ATen/cuda/CUDAContext.h>
int ballquery_cuda(int m, float radius, int nsample,
at::Tensor xyz_tensor, at::Tensor new_xyz_tensor,
at::Tensor offset_tensor, at::Tensor new_offset_tensor,
... | 519 | 27.888889 | 62 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/smaesopt.h | //$ nocpp
/**
* @file smaesopt.h
*
* @brief The inclusion file for the CSMAESOpt class.
*
* @section license License
*
* Copyright (c) 2016-2022 Aleksey Vaneev
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software... | 5,834 | 22.528226 | 84 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/deopt.h | //$ nocpp
/**
* @file deopt.h
*
* @brief The inclusion file for the CDEOpt class.
*
* @section license License
*
* Copyright (c) 2021-2022 Aleksey Vaneev
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*... | 7,120 | 21.750799 | 78 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/biteort.h | //$ nocpp
/**
* @file biteort.h
*
* @brief The inclusion file for the CBiteOrt class.
*
* @section license License
*
* Copyright (c) 2016-2022 Aleksey Vaneev
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software")... | 18,110 | 21.086585 | 78 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/LBFGS.h | // Copyright (C) 2016-2020 Yixuan Qiu <yixuan.qiu@cos.name>
// Under MIT license
#ifndef LBFGS_H
#define LBFGS_H
#include <Eigen/Core>
#include "LBFGSpp/Param.h"
#include "LBFGSpp/BFGSMat.h"
#include "LBFGSpp/LineSearchBacktracking.h"
#include "LBFGSpp/LineSearchBracketing.h"
#include "LBFGSpp/LineSearchNocedalWright... | 4,807 | 28.679012 | 115 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/spheropt.h | //$ nocpp
/**
* @file spheropt.h
*
* @brief The inclusion file for the CSpherOpt class.
*
* @section license License
*
* Copyright (c) 2016-2022 Aleksey Vaneev
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software... | 8,062 | 21.212121 | 78 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/LBFGSB.h | // Copyright (C) 2020 Yixuan Qiu <yixuan.qiu@cos.name>
// Under MIT license
#ifndef LBFGSB_H
#define LBFGSB_H
#include <stdexcept> // std::invalid_argument
#include <vector>
#include <Eigen/Core>
#include "LBFGSpp/Param.h"
#include "LBFGSpp/BFGSMat.h"
#include "LBFGSpp/Cauchy.h"
#include "LBFGSpp/SubspaceMin.h"
#inc... | 8,610 | 33.862348 | 115 | h |
fast-cma-es | fast-cma-es-master/_fcmaescpp/include/evaluator.h | /*
* evaluator.hpp
*
* Created on: Jul 12, 2021
* Author: Dietmar Wolz
*/
#ifndef EVALUATOR_HPP_
#define EVALUATOR_HPP_
#include <Eigen/Core>
#include <iostream>
#include <algorithm>
#include <queue>
#include <mutex>
#include <thread>
#include <random>
#include <iostream>
#include <thread>
#include <vector... | 13,472 | 25.161165 | 97 | h |
trylogic | trylogic-master/trylogic_imslti/taskgenerator/limmat/limmat.h | #ifndef _limmat_h_INCLUDED
#define _limmat_h_INCLUDED
/*------------------------------------------------------------------------*/
#include <stdio.h> /* for 'FILE' */
#include <stdlib.h> /* for 'size_t' */
/*------------------------------------------------------------------------*/
/* In case the user program wants ... | 4,858 | 38.827869 | 76 | h |
trylogic | trylogic-master/trylogic_imslti/taskgenerator/limboole-0.2/test.c | #include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <unistd.h>
/*------------------------------------------------------------------------*/
int limboole (int, char **);
/*------------------------------------------------------------------------*/
typedef struct... | 8,046 | 23.311178 | 78 | c |
trylogic | trylogic-master/trylogic_imslti/taskgenerator/limmat-1.3/limmat.h | #ifndef _limmat_h_INCLUDED
#define _limmat_h_INCLUDED
/*------------------------------------------------------------------------*/
#include <stdio.h> /* for 'FILE' */
#include <stdlib.h> /* for 'size_t' */
/*------------------------------------------------------------------------*/
/* In case the user program wants ... | 4,858 | 38.827869 | 76 | h |
trylogic | trylogic-master/trylogic_tutorial/js_of_ocaml/lib/stubs.c | #include <stdlib.h>
#include <stdio.h>
#define D(f) void f () { fprintf(stderr, "Unimplemented Javascript primitive %s!\n", #f); exit(1); }
D(caml_js_call)
D(caml_js_const)
D(caml_js_equals)
D(caml_js_eval_string)
D(caml_js_from_array)
D(caml_js_from_bool)
D(caml_js_from_byte_string)
D(caml_js_from_float)
D(caml_js_fro... | 729 | 21.121212 | 100 | c |
null | SeLoC-ML-main/estimate_tensor_arena_size/find_arena_size.h | #ifndef EI_FIND_TENSOR_SIZE_H_
#define EI_FIND_TENSOR_SIZE_H_
#include "tensorflow/lite/micro/all_ops_resolver.h"
#include "tensorflow/lite/micro/micro_error_reporter.h"
#include "tensorflow/lite/micro/micro_interpreter.h"
#include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
stati... | 1,661 | 35.130435 | 100 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/accelerometer_handler.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,250 | 40.7 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/gesture_predictor.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 930 | 41.318182 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/output_handler.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,042 | 40.72 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/magic_wand_model_data.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,282 | 44.821429 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/constants.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,605 | 40.179487 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/magic_wand/main_functions.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,330 | 34.026316 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/micro_features_model.h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,237 | 43.214286 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/micro_features_no_micro_features_data.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,123 | 45.833333 | 95 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/micro_features_yes_micro_features_data.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,129 | 46.083333 | 96 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/micro_features_micro_model_settings.h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
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 a... | 2,072 | 46.113636 | 93 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/command_responder.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,539 | 45.666667 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/recognize_commands.h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
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 a... | 6,086 | 37.04375 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/audio_provider.h | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
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 a... | 2,538 | 53.021277 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/main_functions.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,336 | 34.184211 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/feature_provider.h | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
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 a... | 2,372 | 43.773585 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/micro_speech/micro_features_micro_features_generator.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,591 | 47.242424 | 97 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0_optimized.c | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 3,577 | 35.141414 | 80 | c |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 13,904 | 32.586957 | 81 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/arduino_HM01B0_platform.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,157 | 45.32 | 85 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0.c | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 23,520 | 31.088677 | 80 | c |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0_Walking1s_01.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,614 | 27.333333 | 94 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0_debug.c | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,373 | 30.227273 | 80 | c |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/person_detect_model_data.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,315 | 46 | 86 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/image_provider.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 2,131 | 52.3 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/model_settings.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,477 | 40.055556 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0_optimized.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,957 | 37.392157 | 91 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/main_functions.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,348 | 34.5 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/himax_driver_HM01B0_debug.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,802 | 35.06 | 87 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/person_detection/detection_responder.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,664 | 46.571429 | 81 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/image_recognition_experimental/stm32f746_discovery_display_util.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,372 | 39.382353 | 108 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/image_recognition_experimental/image_recognition_model.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,379 | 48.285714 | 99 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/image_recognition_experimental/util.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,982 | 29.507692 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/image_recognition_experimental/image_provider.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 2,239 | 52.333333 | 90 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/image_recognition_experimental/stm32f746_discovery_image_util.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,478 | 43.818182 | 106 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/hello_world/output_handler.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,161 | 42.037037 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/hello_world/constants.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,573 | 46.69697 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/hello_world/model.h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,295 | 39.5 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/examples/hello_world/main_functions.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,333 | 34.105263 | 80 | h |
null | SeLoC-ML-main/estimate_tensor_arena_size/Arduino_TensorFlowLite-2.4.0-ALPHA/src/TensorFlowLite.h | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
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 a... | 1,046 | 44.521739 | 80 | h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.