repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
petastorm/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:26.041614
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # 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 ...
uber/petastorm
https://github.com/uber/petastorm
null
null
null
null
1,888
null
null
apache-2.0
null
null
null
null
null
null
null
examples/mnist/tf_example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:29.841223
# Copyright (c) 2017-2018 Uber Technologies, Inc. # # 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 ...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Equivalent_char.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.175826
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool from nlpcda.config import Equivalent_char_path class EquivalentChar(Basetool): ''' 等价字,用于随机替换等价字,【字级别的】,增强数据 ''' def __init__(self, base_file=Equivalent_char_path, create_num=5, change_rate=0.05, seed=1): s...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Homophone.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.178814
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool from nlpcda.config import homophone_path class Homophone(Basetool): ''' 同音-意字,用于大致不改变原文下,【字级别的】,增强数据 ''' def __init__(self, base_file=homophone_path, create_num=5, change_rate=0.05, seed=1): super(Homophone...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/example.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.180781
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda import Randomword from nlpcda import Similarword from nlpcda import Homophone from nlpcda import RandomDeleteChar from nlpcda import Ner from nlpcda import CharPositionExchange from nlpcda import baidu_translate from nlpcda import EquivalentChar def test_Randomwo...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Char_position_exchange.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.182850
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool class CharPositionExchange(Basetool): ''' 随机字 交换:研表究明,汉字序顺并不定一影响文字的阅读理解<<是乱序的 ''' def __init__(self, create_num: int = 5, change_rate: float = 0.05, char_gram: int = 3, seed: int = 1): super(CharPositionExch...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Random_delete_char.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.188392
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool class RandomDeleteChar(Basetool): ''' 随机字删除,【字级别的】,增强数据 ''' def __init__(self, create_num: int = 5, change_rate: float = 0.05, seed: int = 1): super(RandomDeleteChar, self).__init__('', create_num, change_ra...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Random_word.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.196950
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool from nlpcda.config import random_path class Randomword(Basetool): ''' 随机词替换,【词级别的】,增强数据 base_file:相同类型的word集合文件 ''' def __init__(self, base_file=random_path, create_num=5, change_rate=0.05, seed=1): supe...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Ner.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.198643
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/5/17 15:18 import os from collections import defaultdict import random def get_random(start, end): assert start <= end - 1 return random.randint(start, end - 1) class Ner: def __init__(self, ner_dir_name: str, ignore_tag_list: list, ...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Basetool.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.199713
#!/usr/bin/python # -*- coding: utf-8 -*- import random from nlpcda.config import company_path import jieba as t_jieba class Basetool: def __init__(self, base_file: str, create_num: int = 5, change_rate: float = 0.1, seed: int = 1): self.random = random self.random.seed(seed) self.base_f...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/config.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.203716
#!/usr/bin/python # -*- coding: utf-8 -*- import os root_path = os.path.abspath(os.path.dirname(__file__)) data_path = os.path.join(root_path, 'data') homophone_path = os.path.join(data_path, '同音意字.txt') Equivalent_char_path = os.path.join(data_path, '等价字.txt') similarword_path = os.path.join(data_path, '同义词.txt') co...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.244755
#!/usr/bin/env python # -*- coding: utf-8 -*- from .tools.Homophone import Homophone from .tools.Ner import Ner from .tools.Random_delete_char import RandomDeleteChar from .tools.Random_word import Randomword from .tools.Similar_word import Similarword from .tools.Char_position_exchange import CharPositionExchange fro...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Translate.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.775763
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : xinfa.jiang # @File : Translate. import requests import random import hashlib # 百度翻译方法 def baidu_translate(content, appid, secretKey, t_from='en', t_to='zh'): # print(content) if len(content) > 4891: return '输入请不要超过4891个字符!' salt = str...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Similar_word.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.777475
#!/usr/bin/python # -*- coding: utf-8 -*- from nlpcda.tools.Basetool import Basetool from nlpcda.config import similarword_path class Similarword(Basetool): ''' 近义词,用于大致不改变原文下,【词级别的】,增强数据 ''' def __init__(self, base_file=similarword_path, create_num=5, change_rate=0.05, seed=1): super(Simila...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/simbert/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.806812
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/11/10 6:05 下午 # @File : __init__.py.py
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/Simbert.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.807938
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from nlpcda.tools.simbert.generator import SynonymsGenerator class Simbert: _config = { 'model_path': '/xxx/chinese_simbert_L-12_H-768_A-12', 'CUDA_VISIBLE_DEVICES': '0,1', 'max_len': 32, 'seed': 1 } def __init__(self...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
setup.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.808628
#!/usr/bin/env python # -*- coding:utf-8 -*- from setuptools import setup, find_packages with open("README.md", "r", encoding='UTF-8') as fh: long_description = fh.read() setup( name="nlpcda", version="2.5.7.1", keywords=("pip", "nlptool", "nlpcda", "nlp", '数据增强'), description="NLP Chinese Data ...
425776024/nlpcda
https://github.com/425776024/nlpcda
null
null
null
null
1,882
null
null
apache-2.0
null
null
null
null
null
null
null
nlpcda/tools/simbert/generator.py
null
null
null
null
null
null
Python
2026-05-04T02:50:32.809320
# -*- coding: utf-8 -*- import os import numpy as np from bert4keras.backend import keras from bert4keras.models import build_transformer_model from bert4keras.tokenizers import Tokenizer from bert4keras.snippets import sequence_padding, AutoRegressiveDecoder def setup_seed(seed): try: import random ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/a8a/print_libsvm_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.364807
#!/usr/bin/env python import tensorflow as tf import os def print_tfrecords(input_filename): max_print_number = 100 current_print_number = 0 for serialized_example in tf.python_io.tf_record_iterator(input_filename): # Get serialized example from file example = tf.train.Example() example.ParseFromS...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/cancer/generate_tfrecords_from_csv.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.367408
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf def generate_tfrecords_file(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, outp...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/cancer/print_tfrecords_files.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.368878
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf def print_tfrecords_file(input_filename): print("Try to print the tfrecords file: {}".format(input_filename)) max_print_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/boston_housing/generate_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.373228
#!/usr/bin/env python import tensorflow as tf import os def generate_tfrecords(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, output_filename)) writer = tf.python_io.TFRecordWriter(output_filename) index = 0 for line in open(input_filename, "r"): index += 1 ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/a8a/generate_libsvm_tfrecord.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.374384
#!/usr/bin/env python import tensorflow as tf import os def generate_tfrecords(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, output_filename)) writer = tf.python_io.TFRecordWriter(output_filename) for line in open(input_filename, "r"): data = line.split(" ") ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/a8a/print_tfrecords_files.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.377350
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf def print_tfrecords_file(input_filename): print("Try to print the tfrecords file: {}".format(input_filename)) max_print_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/boston_housing/print_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.381758
#!/usr/bin/env python import tensorflow as tf import os def print_tfrecords(input_filename): max_print_number = 100 current_print_number = 0 for serialized_example in tf.python_io.tf_record_iterator(input_filename): # Get serialized example from file example = tf.train.Example() example.ParseFromS...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/iris/download_iris.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.382861
#!/usr/bin/env python import numpy as np import random from sklearn import datasets def main(): # Load data set print("Download the iris dataset") iris = datasets.load_iris() # Split into train and test TRAIN_FILE_NAME = "iris_train.csv" TEST_FILE_NAME = "iris_test.csv" file_content_array = [] train...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/a8a/generate_tfrecords_from_libsvm.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.405125
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import os import tensorflow as tf def generate_tfrecords(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, output_fi...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/iris/print_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:40.989161
#!/usr/bin/env python import tensorflow as tf import os def print_tfrecords(input_filename): max_print_number = 100 current_print_number = 0 for serialized_example in tf.python_io.tf_record_iterator(input_filename): # Get serialized example from file example = tf.train.Example() example.ParseFromS...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
dense_classifier.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.014117
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, division, print_function import datetime import logging import os import pprint import numpy as np import tensorflow as tf from sklearn import metrics from tensorflow.python.saved_model import (signature_constants, ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
dense_classifier_use_queue.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.023241
#!/usr/bin/env python # -*- encoding: utf-8 -*- import datetime import logging import os import pprint import numpy as np import tensorflow as tf from sklearn import metrics from tensorflow.python.saved_model import builder as saved_model_builder from tensorflow.python.saved_model import ( signature_constants, si...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
distributed/dense_classifier.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.024215
#!/usr/bin/env python import tensorflow as tf import math import os import numpy as np # Define parameters flags = tf.app.flags FLAGS = flags.FLAGS flags.DEFINE_float('learning_rate', 0.01, 'Initial learning rate.') flags.DEFINE_integer('epoch_number', None, 'Number of epochs to run trainer.') flags.DEFINE_integer("b...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/lung/convert_dcm_to_csv.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.025802
#!/usr/bin/env python from pydicom import dicomio import numpy as np def main(): # Read label file label_filename = "./raw_data/stage1_labels.csv" id_label_map = {} for i in open(label_filename, "r"): if i.startswith("id,cancer"): continue id_label_pair = i.split(",") id_label_map[id_label_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/lung/generate_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.068802
#!/usr/bin/env python import tensorflow as tf import os def generate_tfrecords(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, output_filename)) writer = tf.python_io.TFRecordWriter(output_filename) for line in open(input_filename, "r"): data = line.split(",") ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/iris/generate_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.069929
#!/usr/bin/env python import tensorflow as tf import os def generate_tfrecords(input_filename, output_filename): print("Start to convert {} to {}".format(input_filename, output_filename)) writer = tf.python_io.TFRecordWriter(output_filename) for line in open(input_filename, "r"): data = line.split(",") ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
data/lung/print_csv_tfrecords.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.071452
#!/usr/bin/env python import tensorflow as tf import os def print_tfrecords(input_filename): max_print_number = 100 current_print_number = 0 for serialized_example in tf.python_io.tf_record_iterator(input_filename): # Get serialized example from file example = tf.train.Example() example.ParseFromS...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/cancer_predict/apps.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.584585
from __future__ import unicode_literals from django.apps import AppConfig class CancerPredictConfig(AppConfig): name = 'cancer_predict'
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/manage.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.633671
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "restful_server.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/cancer_predict/views.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.652828
from django.shortcuts import render from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt import tensorflow as tf import numpy as np import json class PredictService(object): def __init__(self, checkpoint_path, checkpoint_file): self.checkpoint_path = checkpoint_path ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/cancer_predict/urls.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.670979
from django.conf.urls import url from . import views urlpatterns = [ url(r'^predict/', views.predict, name='predict'), url(r'^$', views.index, name='index'), ]
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/restful_server/urls.py
null
null
null
null
null
null
Python
2026-05-04T02:50:41.721461
"""restful_server URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cl...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
http_service/restful_server/wsgi.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.475280
""" WSGI config for restful_server project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
minimal_model/benchmark_predict.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.639615
#!/usr/bin/env python import numpy as np import os import tensorflow as tf from tensorflow.contrib.session_bundle import exporter import time flags = tf.app.flags FLAGS = flags.FLAGS flags.DEFINE_integer("batch_size", 10, "The batch size to train") flags.DEFINE_integer("epoch_number", 10, "Number of epochs to run tra...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
minimal_model/python_predict_client/predict_client.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.654446
#!/usr/bin/env python import numpy from grpc.beta import implementations import tensorflow as tf import predict_pb2 import prediction_service_pb2 tf.app.flags.DEFINE_string("host", "127.0.0.1", "gRPC server host") tf.app.flags.DEFINE_integer("port", 9000, "gRPC server port") tf.app.flags.DEFINE_string("model_name",...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
minimal_model/python_predict_client/benchmark_latency.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.655912
#!/usr/bin/env python import numpy import time from grpc.beta import implementations import tensorflow as tf import predict_pb2 import prediction_service_pb2 tf.app.flags.DEFINE_string("host", "127.0.0.1", "gRPC server host") tf.app.flags.DEFINE_integer("port", 9000, "gRPC server port") tf.app.flags.DEFINE_string("...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
minimal_model/python_predict_client/benchmark_qps.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.656856
#!/usr/bin/env python import numpy import multiprocessing import threading import time from grpc.beta import implementations import tensorflow as tf import predict_pb2 import prediction_service_pb2 tf.app.flags.DEFINE_string("host", "127.0.0.1", "gRPC server host") tf.app.flags.DEFINE_integer("port", 9000, "gRPC se...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
model.py
null
null
null
null
null
null
Python
2026-05-04T02:50:42.802284
from __future__ import absolute_import, division, print_function import tensorflow as tf def full_connect(inputs, weights_shape, biases_shape, is_train=True, FLAGS=None): """ Define full-connect layer with reused Variables. """ weights ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
python_predict_client/predict_client.py
null
null
null
null
null
null
Python
2026-05-04T02:50:43.359378
#!/usr/bin/env python import numpy import tensorflow as tf from grpc.beta import implementations from tensorflow_serving.apis import predict_pb2, prediction_service_pb2 tf.app.flags.DEFINE_string("host", "0.0.0.0", "TensorFlow Serving server ip") tf.app.flags.DEFINE_integer("port", 8500, "TensorFlow Serving server po...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
tensorboard_tools/read_event_files.py
null
null
null
null
null
null
Python
2026-05-04T02:50:43.853686
#!/usr/bin/env python import tensorflow as tf def main(): event_file_path = "/Users/tobe/code/tensorflow_template_application/tensorboard/events.out.tfevents.1527218992.mbp-2.local" for event in tf.train.summary_iterator(event_file_path): print("--------------------") print("Time: {}".format(event.wall_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
util.py
null
null
null
null
null
null
Python
2026-05-04T02:50:44.119478
from __future__ import absolute_import, division, print_function import logging import os import tensorflow as tf from tensorflow.python.saved_model import builder as saved_model_builder from tensorflow.python.saved_model import (signature_constants, tag_constants) def get_optimizer_by_name(optimizer_name, learning_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
python_predict_client/sparse_predict_client.py
null
null
null
null
null
null
Python
2026-05-04T02:50:44.268924
#!/usr/bin/env python import numpy from grpc.beta import implementations import tensorflow as tf import predict_pb2 import prediction_service_pb2 tf.app.flags.DEFINE_string("host", "127.0.0.1", "gRPC server host") tf.app.flags.DEFINE_integer("port", 9000, "gRPC server port") tf.app.flags.DEFINE_string("model_name",...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
sparse_classifier.py
null
null
null
null
null
null
Python
2026-05-04T02:50:44.269684
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, division, print_function import datetime import logging import os import pprint import numpy as np import tensorflow as tf from sklearn import metrics from tensorflow.python.saved_model import ( signature_constants, signature_...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
sklearn_exmaples/cancer_classifier.py
null
null
null
null
null
null
Python
2026-05-04T02:50:44.365558
#!/usr/bin/env python import sys import numpy as np from sklearn import metrics from sklearn.svm import SVC from sklearn.neural_network import MLPClassifier from sklearn.neighbors import KNeighborsClassifier from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble import RandomForestClassifier, AdaBoostCl...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
sparse_model.py
null
null
null
null
null
null
Python
2026-05-04T02:50:44.374659
from __future__ import absolute_import, division, print_function import tensorflow as tf def full_connect(inputs, weights_shape, biases_shape, is_train=True, FLAGS=None): with tf.device("/cpu:0"): weights = tf.get_variable( "weights", ...
tobegit3hub/tensorflow_template_application
https://github.com/tobegit3hub/tensorflow_template_application
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
minimal_model/train.py
null
null
null
null
null
null
Python
2026-05-04T02:50:47.244179
#!/usr/bin/env python import numpy as np import os import tensorflow as tf from tensorflow.contrib.session_bundle import exporter import time flags = tf.app.flags FLAGS = flags.FLAGS flags.DEFINE_integer("batch_size", 10, "The batch size to train") flags.DEFINE_integer("epoch_number", 10, "Number of epochs to run tra...
astral-sh/ruff-pre-commit
https://github.com/astral-sh/ruff-pre-commit
null
null
null
null
1,880
null
null
apache-2.0
null
null
null
null
null
null
null
mirror.py
null
null
null
null
null
null
Python
2026-05-04T02:50:49.570478
# /// script # requires-python = ">=3.12" # dependencies = [ # "packaging==23.1", # "urllib3==2.0.5", # ] # /// """Update ruff-pre-commit to the latest version of ruff.""" import re import subprocess import tomllib import typing from pathlib import Path import urllib3 from packaging.requirements import Requiremen...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
docs/ext/nb_output_cell_to_iframe.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.679362
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.681585
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/_treescope_handlers/shapecheck_handlers.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.682922
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/_treescope_handlers/struct_handler.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.685011
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.685990
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
docs/ext/pz_alias_rewrite.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.687158
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
docs/conf.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.688627
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/_treescope_handlers/named_axes_handlers.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.690828
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/_treescope_handlers/selection_rendering.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.705017
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/_treescope_handlers/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:51.734665
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/partitioning.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.281527
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/random_stream.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.294781
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/tree_util.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.295349
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/auto_order_types.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.308408
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/struct.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.311587
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/shapecheck.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.316155
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/syntactic_sugar.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.317916
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/selectors.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.335458
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/variables.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.367533
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/core/named_axes.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.369185
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.881293
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.882576
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/core/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.884473
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/core/_treescope_handlers/layer_handler.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.901464
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/core/layer.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.933367
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.947975
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/core/random_stream.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.949255
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/_treescope_handlers.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.954789
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/effect_base.py
null
null
null
null
null
null
Python
2026-05-04T02:50:52.975873
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/example_models/gemma/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.522986
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/random.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.524061
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/local_state.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.525439
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/side_input.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.526704
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/example_models/gemma/model_core.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.527924
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/data_effects/side_output.py
null
null
null
null
null
null
Python
2026-05-04T02:50:54.855250
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/example_models/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.248727
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/example_models/simple_mlp.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.306321
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/basic_ops.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.484494
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/__init__.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.486475
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/dropout.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.498507
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/combinators.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.513392
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/attention.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.568650
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/embeddings.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.589136
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/grouping.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.786294
# Copyright 2024 The Penzai Authors. # # 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 w...
google-deepmind/penzai
https://github.com/google-deepmind/penzai
null
null
null
null
1,881
null
null
apache-2.0
null
null
null
null
null
null
null
penzai/deprecated/v1/nn/linear_and_affine.py
null
null
null
null
null
null
Python
2026-05-04T02:50:55.873777
# Copyright 2024 The Penzai Authors. # # 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 w...