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
% Fixed extra right bracket | |
% | |
% Evgenii Zheltonozhskii, 09/28/2020, [email protected] | |
% | |
% --------------------------------------------------------------- | |
% Modified CVPR ieee_fullname.bst to support natbib | |
% | |
% Evgenii Zheltonozhskii, 03/10/2019, [email protected] | |
% | |
% --------------------------------------------------------------- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import pickle | |
from contextlib import closing | |
from timeit import default_timer as timer | |
from selenium.common.exceptions import TimeoutException | |
from selenium.webdriver import Firefox, FirefoxProfile | |
from selenium.webdriver.support.ui import WebDriverWait | |
from tqdm import tqdm |
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
/** | |
Copyright 2017, Evgenii Zheltonozhskii | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, |
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
/* | |
Copyright (C) 2004 Sam Hocevar <[email protected]>, All rights reserved. | |
Copyright (C) 2017 Evgeniy Zheltonozhskiy <[email protected]>, All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the | |
following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following | |
disclaimer. |
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
#include <math.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <gmp.h> | |
/* | |
* from Fibo(n) = phi^n / sqrt(5) approximate number of bits in nth fibo | |
* is log_2(phi) * n - log_2(5)/2 For n >> 1, it's a bit less than 0.695n | |
*/ | |
#define FIBO_BITCOUNT(x) ((mp_bitcnt_t)ceil(0.695 * (x))) |
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
#include <iostream> | |
#include "half.h" | |
#include "picotest.h" | |
TEST(arithm, half_float) { | |
half abs_error(1e-2); | |
EXPECT_EQ(half(7.2), std::abs(half(-7.2))); | |
EXPECT_EQ(half(7.2), std::abs(half(7.2))); | |
EXPECT_EQ(false, bool(half(0.0))); | |
EXPECT_NEAR(half(8.602), half(7.238)+half(1.364),abs_error); |
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
#include <cstdint> | |
#include <immintrin.h> | |
constexpr uint_least16_t CNN_HALF_SIGN = 1 << 15; | |
constexpr uint_least16_t CNN_HALF_EXPONENT = 0x1F << 10; | |
constexpr uint_least16_t CNN_HALF_MANTISSA = 0x3FF; | |
struct half; | |
namespace std { |
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
/* | |
* Author: David Robert Nadeau | |
* Site: http://NadeauSoftware.com/ | |
* License: Creative Commons Attribution 3.0 Unported License | |
* http://creativecommons.org/licenses/by/3.0/deed.en_US | |
*/ | |
#if defined(_WIN32) | |
#include <Windows.h> | |
#elif defined(__unix__) || defined(__unix) || defined(unix) || (defined(__APPLE__) && defined(__MACH__)) |
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
#include <iostream> | |
#include <vector> | |
#include <array> | |
#include <algorithm> | |
enum Square { Zero, One, Nothing }; | |
Square inverse(Square s) { | |
return s == Zero ? One : Zero; | |
} |
NewerOlder