Skip to content

Instantly share code, notes, and snippets.

Steven Guh stevenguh

  • Seattle
Block or report user

Report or block stevenguh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
stevenguh /
Created Feb 7, 2019
Temporal Conv Net with Non-Causal Conv in PyTorch
# Import TCN library from
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch.nn.utils import weight_norm
def conv1d_same_padding(input, weight, bias=None, stride=1, dilation=1, groups=1):
input_length = input.size(2)
filter_length = weight.size(2)
View NodaContractResolverBenchmarks.cs
using System;
using BenchmarkDotNet.Attributes;
using Newtonsoft.Json;
using NodaTime.Serialization.JsonNet;
namespace NodaTime.Serialization.Benchmarks.JsonNet
public class NodaContractResolverBenchmarks
stevenguh / ConfigureForNodaTimeBenchmarks.cs
Created Aug 24, 2017
Benchmarks for nodatime.serialization #12 (TypeDescriptor vs ConfigureForNodaTime)
View ConfigureForNodaTimeBenchmarks.cs
public class ConfigureForNodaTimeBenchmarks
static readonly Instant _instant = Instant.FromUtc(2017, 6, 7, 0, 0);
static readonly DateTime _dateTime = new DateTime(2017, 6, 7);
static readonly JsonSerializerSettings _settings = new JsonSerializerSettings();
static ConfigureForNodaTimeBenchmarks()
You can’t perform that action at this time.