text stringlengths 7 35.3M | id stringlengths 11 185 | metadata dict | __index_level_0__ int64 0 2.14k |
|---|---|---|---|
//
// NSString+Tools.h
// TDS
//
// Created by JiangJiahao on 2018/4/24.
// Copyright © 2018年 dyy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Tools)
- (NSString *)tds_URLEncodedString;
- (NSString *)tds_URLDecodedString;
///反转字符串
- (NSString *)tds_reverse;
// MD5 hash of the f... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSString+Tools.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/NSString+Tools.h",
"repo_id": "jynew",
"token_count": 317
} | 1,799 |
//
// XDGAutoLayout.h
// XDG
//
// Created by JiangJiahao on 2020/8/20.
// Copyright © 2020 JiangJiahao. All rights reserved.
// 简单自动布局类
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSAutoLayout : NSObject
+ (void)openAutoLayout:(UIView *)targetView;
+ (void)saf... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAutoLayout.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSAutoLayout.h",
"repo_id": "jynew",
"token_count": 1446
} | 1,800 |
//
// Command.h
// EngineBridge
//
// Created by xe on 2020/9/28.
// Copyright © 2020 xe. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSCommand : NSObject
@property (nonatomic,copy) NSString* service;
@property (nonatomic,copy) NSString* method;
@property (nona... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommand.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSCommand.h",
"repo_id": "jynew",
"token_count": 211
} | 1,801 |
//
// TDSDebounce.h
// TDSCommon
//
// Created by JiangJiahao on 2021/3/22.
//
#import <Foundation/Foundation.h>
/** 自定管理执行与释放时,标记调用来源: 对象/类地址_方法名_调用行数 */
#define TDSDebunceKey [NSString stringWithFormat:@"%p_%s_%d",self,__func__,__LINE__]
#define TDSDebunceKeyAppendCustom(customKey) [NSString stringWithFormat:@"... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSDebounce.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSDebounce.h",
"repo_id": "jynew",
"token_count": 2015
} | 1,802 |
//
// HttpResult.h
//
// Created by JiangJiahao on 2018/3/9.
// Copyright © 2018年 JiangJiahao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TDSHttpResult : NSObject
@property (nonatomic,strong) NSData *data;
@property (nonatomic,strong) NSURLResponse *response;
@property (nonatomic,strong)... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpResult.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSHttpResult.h",
"repo_id": "jynew",
"token_count": 234
} | 1,803 |
//
// TDSLoggerService.h
// TDSCommon
//
// Created by Insomnia on 2020/10/30.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TDSLoggerService : NSObject
+ (void)log:(NSString *)config tag:(NSString *)tag message:(NSString *)message;
@end
NS_ASSUME_NONNULL_END
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLoggerService.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSLoggerService.h",
"repo_id": "jynew",
"token_count": 114
} | 1,804 |
//
// TDSNetSubscriber.h
// TDSCommon
//
// Created by Insomnia on 2020/10/22.
//
#import <Foundation/Foundation.h>
@protocol TDSNetSubscriber <NSObject>
@optional
- (void)sendSuccess:(nullable id)value;
- (void)sendFailure:(nullable NSError *)error;
- (void)sendProgress:(nullable id)progress;
@end
NS_ASSUME_... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetSubscriber.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSNetSubscriber.h",
"repo_id": "jynew",
"token_count": 222
} | 1,805 |
//
// TDSRouter.h
// TDSCommon
//
// Created by Insomnia on 2020/11/27.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern NSString *const TDSRouterURL;
extern NSString *const TDSRouterResp;
extern NSString *const TDSRouterParams;
typedef void (^TDSRouterHandler)(NSDictionary *params);
typedef ... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRouter.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSRouter.h",
"repo_id": "jynew",
"token_count": 811
} | 1,806 |
//////////////////////////////////////////////////////////////////////////////////////////////////
//
// TDSWSSecurity.h
//
// Created by Austin and Dalton Cherry on on 9/3/15.
// Copyright (c) 2014-2017 Austin Cherry.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWSSecurity.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TDSWSSecurity.h",
"repo_id": "jynew",
"token_count": 653
} | 1,807 |
//
// TapAuthResult.h
// TapCommonSDK
//
// Created by 黄驿峰 on 2022/1/27.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TapAuthAccessToken.h>
typedef NS_ENUM(NSInteger, TapAuthResultType) {
TapAuthResultTypeSuccess,
TapAuthResultTypeCancel,
TapAuthResultTypeError,
};
NS_ASSUME_NONNULL_BEGI... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthResult.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapAuthResult.h",
"repo_id": "jynew",
"token_count": 312
} | 1,808 |
//
// TapDBDynamicPropertiesProxy.h
// TapDB
//
// Created by xe on 2021/4/13.
//
#import <Foundation/Foundation.h>
#import <TapCommonSDK/TapPropertiesDelegateProxy.h>
NS_ASSUME_NONNULL_BEGIN
@interface TapPropertiesHolder : NSObject
@property NSMutableDictionary<NSString*,TapPropertiesDelegateProxy*> *dic;
+ (... | jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesHolder.h/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/Headers/TapPropertiesHolder.h",
"repo_id": "jynew",
"token_count": 161
} | 1,809 |
fileFormatVersion: 2
guid: c6484dfb4e2a9407f9e4c2c4052d4395
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/TapCommonSDK.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/Plugins/iOS/TapCommonSDK.framework/TapCommonSDK.meta",
"repo_id": "jynew",
"token_count": 68
} | 1,810 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1138495173445114285
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 9127102694935652778}
- component: {fileID: 306... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Resources/Loading.prefab/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Resources/Loading.prefab",
"repo_id": "jynew",
"token_count": 3371
} | 1,811 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace TapSDK.UI
{
public enum ELanguageType
{
cn = 1,
en = 2,
fr = 3,
}
public class LocalizationMgr: Singleton<LocalizationMgr>
{
private E... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/LocalizationMgr.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Base/LocalizationMgr.cs",
"repo_id": "jynew",
"token_count": 410
} | 1,812 |
namespace TapSDK.UI
{
public interface IOpenPanelParameter {}
} | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Params/IOpenPanelParameter.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/Scripts/Params/IOpenPanelParameter.cs",
"repo_id": "jynew",
"token_count": 22
} | 1,813 |
// <auto-generated />
//
// To parse this JSON data, add NuGet 'LC.Newtonsoft.Json' then do:
//
// using Localization.AntiAddiction;
//
// var antiAddictionLocalizationItems = AntiAddictionLocalizationItems.FromJson(jsonString);
namespace Localization.AntiAddiction
{
using System;
using System.Collection... | jynew/jyx2/TapSdkFiles/TapTap/Common/UI/gen/AntiAddictionLocalizationItems.cs/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Common/UI/gen/AntiAddictionLocalizationItems.cs",
"repo_id": "jynew",
"token_count": 993
} | 1,814 |
fileFormatVersion: 2
guid: 4a4f5a2aa7ce743a1a54c06fc9e913e6
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Editor/TapTap.Login.Editor.asmdef.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Editor/TapTap.Login.Editor.asmdef.meta",
"repo_id": "jynew",
"token_count": 71
} | 1,815 |
fileFormatVersion: 2
guid: bb7192c9e09ce4e3f929f8c02d5e4ca5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/IscTapLoginService.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/IscTapLoginService.h.meta",
"repo_id": "jynew",
"token_count": 70
} | 1,816 |
fileFormatVersion: 2
guid: 82264ba5f063b4592b13c8a1ef0c289c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapTapLoginResultDelegate.h.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/Plugins/iOS/TapLoginSDK.framework/Headers/TapTapLoginResultDelegate.h.meta",
"repo_id": "jynew",
"token_count": 67
} | 1,817 |
fileFormatVersion: 2
guid: 922f25809659d41b4b23147484bd150d
TrueTypeFontImporter:
externalObjects: {}
serializedVersion: 4
fontSize: 16
forceTextureCase: -2
characterSpacing: 0
characterPadding: 1
includeFontData: 1
fontName: icomoon
fontNames:
- taptap-sdk
fallbackFontReferences: []
customChara... | jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts/taptap-sdk.ttf.meta/0 | {
"file_path": "jynew/jyx2/TapSdkFiles/TapTap/Login/QRCode/Resources/Fonts/taptap-sdk.ttf.meta",
"repo_id": "jynew",
"token_count": 170
} | 1,818 |
test_editors:
- version: 2023.2
test_platforms:
- name: win
type: Unity::VM
image: package-ci/win11:v4
flavor: b1.large
---
{% for editor in test_editors %}
{% for platform in test_platforms %}
promotion_test_{{ platform.name }}_{{ editor.version }}:
name : Promotion Test {{ editor.version }} on {{ p... | ml-agents/.yamato/com.unity.ml-agents-promotion.yml/0 | {
"file_path": "ml-agents/.yamato/com.unity.ml-agents-promotion.yml",
"repo_id": "ml-agents",
"token_count": 815
} | 1,819 |
fileFormatVersion: 2
guid: 8498a7556d0b348cbaff70bd8635db8b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/DevProject/Assets/ML-Agents.meta/0 | {
"file_path": "ml-agents/DevProject/Assets/ML-Agents.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,820 |
fileFormatVersion: 2
guid: 3ce87dece2ef3488c983d27b05720aa2
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Runtime/Runtime.asmdef.meta/0 | {
"file_path": "ml-agents/DevProject/Assets/ML-Agents/Scripts/Tests/Runtime/Runtime.asmdef.meta",
"repo_id": "ml-agents",
"token_count": 65
} | 1,821 |
{
"m_Dictionary": {
"m_DictionaryValues": [
{
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"key": "Path",
"value": "{\"m_Value\":\"{ProjectPath}\"}"
},
{
... | ml-agents/DevProject/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json/0 | {
"file_path": "ml-agents/DevProject/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json",
"repo_id": "ml-agents",
"token_count": 482
} | 1,822 |
fileFormatVersion: 2
guid: 7b216d8fa869045909ff1b548a25ec3b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/PerformanceProject/Assets/ML-Agents/Scripts/Tests.meta/0 | {
"file_path": "ml-agents/PerformanceProject/Assets/ML-Agents/Scripts/Tests.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,823 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!159 &1
EditorSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
m_ExternalVersionControlSupport: Visible Meta Files
m_SerializationMode: 2
m_LineEndingsForNewScripts: 0
m_DefaultBehaviorMode: 0
m_PrefabRegularEnvironment: {fileID: 0}
m_PrefabUIEnvironmen... | ml-agents/PerformanceProject/ProjectSettings/EditorSettings.asset/0 | {
"file_path": "ml-agents/PerformanceProject/ProjectSettings/EditorSettings.asset",
"repo_id": "ml-agents",
"token_count": 359
} | 1,824 |
fileFormatVersion: 2
guid: bbf6756da134740eaa002a1b84f655cb
ScriptedImporter:
internalIDToNameTable:
- first:
114: 11400000
second: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo
externalObjects: {}
serializedVersion: 2
userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)'
as... | ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta",
"repo_id": "ml-agents",
"token_count": 175
} | 1,825 |
fileFormatVersion: 2
guid: 345b1ab9777d749dd885c6ea9f138d57
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/Visual3DBall.unity.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/3DBall/Scenes/Visual3DBall.unity.meta",
"repo_id": "ml-agents",
"token_count": 64
} | 1,826 |
fileFormatVersion: 2
guid: 0fe8ca50950ae4f2688716419b981cbb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Basic/Demos.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Basic/Demos.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,827 |
fileFormatVersion: 2
guid: a1b9b0ef56a7943f8b6eae4a5c2d4c13
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Basic/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Basic/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 76
} | 1,828 |
using UnityEngine;
using Unity.MLAgents;
using Unity.MLAgents.Actuators;
using Unity.MLAgentsExamples;
using Unity.MLAgents.Sensors;
using Random = UnityEngine.Random;
[RequireComponent(typeof(JointDriveController))] // Required to set joint forces
public class CrawlerAgent : Agent
{
[Header("Walk Speed")]
[R... | ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs",
"repo_id": "ml-agents",
"token_count": 4290
} | 1,829 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &122736271
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 122736272}
- component: {fileID: 122736273}
m_Layer: 0... | ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapePlatform.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/DungeonEscape/Prefabs/DungeonEscapePlatform.prefab",
"repo_id": "ml-agents",
"token_count": 65846
} | 1,830 |
fileFormatVersion: 2
guid: c85b585836e104587b4efdc4d8b9d62b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 100100000
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab.meta",
"repo_id": "ml-agents",
"token_count": 78
} | 1,831 |
fileFormatVersion: 2
guid: 114608d5384404f89bff4b6f88432958
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/agentRenderTexture.renderTexture.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/GridWorld/Prefabs/agentRenderTexture.renderTexture.meta",
"repo_id": "ml-agents",
"token_count": 72
} | 1,832 |
fileFormatVersion: 2
guid: 6898a815458594782920cc6ce36e5a99
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Scenes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Hallway/Scenes.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,833 |
fileFormatVersion: 2
guid: d982f0cd92214bd2b689be838fa40c44
timeCreated: 1598221207 | ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3Agent.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Match3/Scripts/Match3Agent.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,834 |
fileFormatVersion: 2
guid: 4197ece8ca6d74a00adc6bafbabda158
folderAsset: yes
timeCreated: 1506303336
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlock.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock.meta",
"repo_id": "ml-agents",
"token_count": 83
} | 1,835 |
fileFormatVersion: 2
guid: ae8cc75939e3e4d07a79c8c6a08b54f4
timeCreated: 1506808980
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scenes/PushBlock.unity.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/Scenes/PushBlock.unity.meta",
"repo_id": "ml-agents",
"token_count": 82
} | 1,836 |
fileFormatVersion: 2
guid: 5855121f0ded74dad8e1dd15a8bcdca1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/TFModels.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/PushBlock/TFModels.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,837 |
fileFormatVersion: 2
guid: 2af8313c71cbd78438404311e2d8832d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Meshes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Meshes.meta",
"repo_id": "ml-agents",
"token_count": 69
} | 1,838 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1703380733698014}
m_IsPrefabParent: ... | ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/StonePyramid.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Pyramids/Prefabs/StonePyramid.prefab",
"repo_id": "ml-agents",
"token_count": 32002
} | 1,839 |
fileFormatVersion: 2
guid: 9b6abdaf6376c42e5acce313e3a7ed94
folderAsset: yes
timeCreated: 1517449349
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials.meta",
"repo_id": "ml-agents",
"token_count": 84
} | 1,840 |
fileFormatVersion: 2
guid: daf629e39cc0f4521b64c93cd9604da9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Door.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Door.mat.meta",
"repo_id": "ml-agents",
"token_count": 73
} | 1,841 |
fileFormatVersion: 2
guid: b26f66bd59d534f92a03ca870ae19724
timeCreated: 1527928195
licenseType: Store
NativeFormatImporter:
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatMoveable.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/GridMatMoveable.mat.meta",
"repo_id": "ml-agents",
"token_count": 78
} | 1,842 |
fileFormatVersion: 2
guid: 5c59bd36def9a4684be49a21cf201a2d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Orange.mat.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Materials/Orange.mat.meta",
"repo_id": "ml-agents",
"token_count": 73
} | 1,843 |
fileFormatVersion: 2
guid: 1eb7d6f36c88fbc48ac541afedc1ccc0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Meshes.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Meshes.meta",
"repo_id": "ml-agents",
"token_count": 72
} | 1,844 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1740551162261218}
m_IsPrefabParent: ... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeBeveled_Blue.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/AgentCubeBeveled_Blue.prefab",
"repo_id": "ml-agents",
"token_count": 5479
} | 1,845 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1537121661968964
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4943719350691982}
- component: {fileID: 108227806... | ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Directional_Light.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Directional_Light.prefab",
"repo_id": "ml-agents",
"token_count": 1151
} | 1,846 |
fileFormatVersion: 2
guid: 790f969f5c774490abce721fdd2fa4b4
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Platforms/LongPlatform.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Prefabs/Platforms/LongPlatform.prefab.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,847 |
fileFormatVersion: 2
guid: 3d6f3eab3776b4fb79724ac4216dfd7b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/AdjustTrainingTimescale.cs.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/AdjustTrainingTimescale.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,848 |
fileFormatVersion: 2
guid: ce77335ae1d534c948a63633ac06337f
folderAsset: yes
timeCreated: 1506189694
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Materials.meta",
"repo_id": "ml-agents",
"token_count": 82
} | 1,849 |
using System.Collections.Generic;
using Unity.MLAgents;
using UnityEngine;
public class SoccerEnvController : MonoBehaviour
{
[System.Serializable]
public class PlayerInfo
{
public AgentSoccer Agent;
[HideInInspector]
public Vector3 StartingPos;
[HideInInspector]
pub... | ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerEnvController.cs/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerEnvController.cs",
"repo_id": "ml-agents",
"token_count": 1730
} | 1,850 |
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &31687057836038398
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2646892654146068209}
- component: {fileID: 66727... | ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Prefabs/Area.prefab/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Sorter/Prefabs/Area.prefab",
"repo_id": "ml-agents",
"token_count": 138968
} | 1,851 |
fileFormatVersion: 2
guid: dd62a2a5a838943fba3d2cbb377a75b3
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdoll.prefab.meta/0 | {
"file_path": "ml-agents/Project/Assets/ML-Agents/Examples/Walker/Prefabs/Ragdoll/WalkerRagdoll.prefab.meta",
"repo_id": "ml-agents",
"token_count": 68
} | 1,852 |
fileFormatVersion: 2
guid: c919ab2efb86f4001a0176ec5a1a3329
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/Project/Assets/csc.rsp.meta/0 | {
"file_path": "ml-agents/Project/Assets/csc.rsp.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,853 |
# Extending Grid Sensors
## Overview
Grid Sensor provides a 2D observation that detects objects around an agent from a top-down view. Compared to RayCasts, it receives a full observation in a grid area without gaps, and the detection is not blocked by objects around the agents. This gives a more granular view while re... | ml-agents/com.unity.ml-agents.extensions/Documentation~/CustomGridSensors.md/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Documentation~/CustomGridSensors.md",
"repo_id": "ml-agents",
"token_count": 1332
} | 1,854 |
{
"name": "Unity.ML-Agents.Extensions.Editor",
"references": [
"Unity.ML-Agents.Extensions",
"Unity.ML-Agents",
"Unity.ML-Agents.Editor"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": []
}
| ml-agents/com.unity.ml-agents.extensions/Editor/Unity.ML-Agents.Extensions.Editor.asmdef/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Editor/Unity.ML-Agents.Extensions.Editor.asmdef",
"repo_id": "ml-agents",
"token_count": 122
} | 1,855 |
fileFormatVersion: 2
guid: 6c98cc3fdaec4664aae128a05cfe6560
timeCreated: 1612573580 | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/FloatInputActionAdaptor.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/Adaptors/FloatInputActionAdaptor.cs.meta",
"repo_id": "ml-agents",
"token_count": 40
} | 1,856 |
fileFormatVersion: 2
guid: 76c31df314114ec6bf104e8db4e5568b
timeCreated: 1614892215 | ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActuatorEventContext.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Input/InputActuatorEventContext.cs.meta",
"repo_id": "ml-agents",
"token_count": 39
} | 1,857 |
using System;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Extensions.Sensors
{
/// <summary>
/// Settings that define the observations generated for physics-based sensors.
/// </summary>
[Serializable]
public struct PhysicsSensorSettings
{
/// <summary>
/// Whether to... | ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsSensorSettings.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Runtime/Sensors/PhysicsSensorSettings.cs",
"repo_id": "ml-agents",
"token_count": 2468
} | 1,858 |
fileFormatVersion: 2
guid: 9b59c16f3e30469ca26156b96351164a
timeCreated: 1613081382 | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/Adaptors.meta",
"repo_id": "ml-agents",
"token_count": 40
} | 1,859 |
fileFormatVersion: 2
guid: 87c358a50faa48c1bba3e5f48a5cb75d
timeCreated: 1613172830 | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/TestPushBlockActions.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Input/TestPushBlockActions.cs.meta",
"repo_id": "ml-agents",
"token_count": 43
} | 1,860 |
using UnityEngine;
using NUnit.Framework;
using Unity.MLAgents.Extensions.Sensors;
namespace Unity.MLAgents.Extensions.Tests.Sensors
{
public class RigidBodyPoseExtractorTests
{
[TearDown]
public void RemoveGameObjects()
{
var objects = GameObject.FindObjectsOfType<GameObjec... | ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/RigidBodyPoseExtractorTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents.extensions/Tests/Runtime/Sensors/RigidBodyPoseExtractorTests.cs",
"repo_id": "ml-agents",
"token_count": 3322
} | 1,861 |
# About ML-Agents package (`com.unity.ml-agents`)
The _ML-Agents_ package contains the primary C# SDK for the [Unity ML-Agents
Toolkit].
The package allows you to convert any Unity scene into a learning environment
and train character behaviors using a variety of machine learning algorithms.
Additionally, it allows y... | ml-agents/com.unity.ml-agents/Documentation~/com.unity.ml-agents.md/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Documentation~/com.unity.ml-agents.md",
"repo_id": "ml-agents",
"token_count": 2088
} | 1,862 |
using UnityEngine;
using UnityEditor;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Editor
{
internal class RayPerceptionSensorComponentBaseEditor : UnityEditor.Editor
{
bool m_RequireSensorUpdate;
protected void OnRayPerceptionInspectorGUI(bool is3d)
{
#if !MLA_UNITY_PHYSICS_... | ml-agents/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs",
"repo_id": "ml-agents",
"token_count": 2009
} | 1,863 |
fileFormatVersion: 2
guid: 680f3317ace1146aebdd9502150b2765
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/Google.Protobuf_Packed.pdb.meta",
"repo_id": "ml-agents",
"token_count": 61
} | 1,864 |
fileFormatVersion: 2
guid: 7dfb52431a6d941c89758cf0a217e3ab
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
... | ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native/libgrpc_csharp_ext.x86.so.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Plugins/ProtoBuffer/runtimes/linux/native/libgrpc_csharp_ext.x86.so.meta",
"repo_id": "ml-agents",
"token_count": 1017
} | 1,865 |
fileFormatVersion: 2
guid: 940521c5d10354cde82c2d572d170c97
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/README.md.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/README.md.meta",
"repo_id": "ml-agents",
"token_count": 65
} | 1,866 |
fileFormatVersion: 2
guid: b25a5b3027c9476ea1a310241be0f10f
timeCreated: 1594756775 | ml-agents/com.unity.ml-agents/Runtime/Actuators/IActionReceiver.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Actuators/IActionReceiver.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,867 |
using System;
using System.Collections.Generic;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Analytics
{
internal struct InferenceEvent
{
/// <summary>
/// Hash of the BehaviorName.
/// </summary>
public string BehaviorName;
publ... | ml-agents/com.unity.ml-agents/Runtime/Analytics/Events.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Analytics/Events.cs",
"repo_id": "ml-agents",
"token_count": 2546
} | 1,868 |
using System;
using System.Collections.Generic;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents
{
public struct CommunicatorInitParameters
{
/// <summary>
/// Port to listen for connections on.
/// </summary>
public int port;
/// <... | ml-agents/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs",
"repo_id": "ml-agents",
"token_count": 2139
} | 1,869 |
fileFormatVersion: 2
guid: a5e0cbcbc514b473399c262dd37541ea
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs.meta",
"repo_id": "ml-agents",
"token_count": 93
} | 1,870 |
fileFormatVersion: 2
guid: c362823bb03fe67bebb658fc15c20a16
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs.meta",
"repo_id": "ml-agents",
"token_count": 92
} | 1,871 |
using System.Collections.Generic;
using Unity.Sentis;
using UnityEngine.Profiling;
using Unity.MLAgents.Actuators;
using Unity.MLAgents.Policies;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Inference
{
internal struct AgentInfoSensorsPair
{
public AgentInfo agentInfo;
public List<ISe... | ml-agents/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs",
"repo_id": "ml-agents",
"token_count": 4585
} | 1,872 |
using System;
using System.Collections.Generic;
using System.Linq;
using Unity.Sentis;
using Unity.MLAgents.Inference.Utils;
using Unity.MLAgents.Policies;
namespace Unity.MLAgents.Inference
{
/// <summary>
/// Tensor - A class to encapsulate a Tensor used for inference.
///
/// This class contains the... | ml-agents/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs",
"repo_id": "ml-agents",
"token_count": 3054
} | 1,873 |
fileFormatVersion: 2
guid: 08e4b0da54cb4d56bfcbae22dd49ab8d
timeCreated: 1600906388 | ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3ActuatorComponent.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Integrations/Match3/Match3ActuatorComponent.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,874 |
using System;
using UnityEngine;
using UnityEngine.Serialization;
using Unity.MLAgents.Actuators;
namespace Unity.MLAgents.Policies
{
/// <summary>
/// This is deprecated. Agents can now use both continuous and discrete actions together.
/// </summary>
[Obsolete("Continuous and discrete actions on the ... | ml-agents/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs",
"repo_id": "ml-agents",
"token_count": 2922
} | 1,875 |
fileFormatVersion: 2
guid: 9c79ae05164e94259bd28ad71dbd3afa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Sensors.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,876 |
fileFormatVersion: 2
guid: 2a501962d056745d1a30e99146ee39fe
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/Sensors/GridSensorComponent.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/GridSensorComponent.cs.meta",
"repo_id": "ml-agents",
"token_count": 94
} | 1,877 |
fileFormatVersion: 2
guid: f67c7e722ba14acd9153bb4488bff6e4
timeCreated: 1573769662 | ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,878 |
namespace Unity.MLAgents.Sensors.Reflection
{
/// <summary>
/// Sensor that wraps a quaternion field or property of an object, and returns
/// that as an observation.
/// </summary>
internal class QuaternionReflectionSensor : ReflectionSensorBase
{
public QuaternionReflectionSensor(Refle... | ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/QuaternionReflectionSensor.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/Reflection/QuaternionReflectionSensor.cs",
"repo_id": "ml-agents",
"token_count": 238
} | 1,879 |
using System.Collections.Generic;
using UnityEngine;
namespace Unity.MLAgents.Sensors
{
public class SensorShapeValidator
{
List<ObservationSpec> m_SensorShapes;
/// <summary>
/// Check that the List Sensors are the same shape as the previous ones.
/// If this is the first List... | ml-agents/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs",
"repo_id": "ml-agents",
"token_count": 1119
} | 1,880 |
fileFormatVersion: 2
guid: c8043cec65aeb4ec09db1d25ad694328
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs.meta",
"repo_id": "ml-agents",
"token_count": 94
} | 1,881 |
fileFormatVersion: 2
guid: d9add8900e8a746e6a4cb410cb27d664
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Runtime/StatsRecorder.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Runtime/StatsRecorder.cs.meta",
"repo_id": "ml-agents",
"token_count": 96
} | 1,882 |
fileFormatVersion: 2
guid: b779986bc10d84f2aa8601a3f1c763ff
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Editor.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor.meta",
"repo_id": "ml-agents",
"token_count": 70
} | 1,883 |
fileFormatVersion: 2
guid: adbf291ff40848a296523d69a5be65a5
timeCreated: 1607379470 | ml-agents/com.unity.ml-agents/Tests/Editor/Analytics.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Analytics.meta",
"repo_id": "ml-agents",
"token_count": 39
} | 1,884 |
fileFormatVersion: 2
guid: e6a3e82911b84029a446dcfd2d8af520
timeCreated: 1587695055 | ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 42
} | 1,885 |
using System;
using System.Collections;
using NUnit.Framework;
namespace Unity.MLAgents.Tests
{
[TestFixture]
public class InplaceArrayTests
{
class LengthCases : IEnumerable
{
public IEnumerator GetEnumerator()
{
yield return 1;
yiel... | ml-agents/com.unity.ml-agents/Tests/Editor/InplaceArrayTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/InplaceArrayTests.cs",
"repo_id": "ml-agents",
"token_count": 3581
} | 1,886 |
using NUnit.Framework;
using Unity.MLAgents.Inference.Utils;
namespace Unity.MLAgents.Tests
{
public class MultinomialTest
{
[Test]
public void TestDim1()
{
var m = new Multinomial(2018);
var cdf = new[] { 1f };
Assert.AreEqual(0, m.Sample(cdf));
... | ml-agents/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs",
"repo_id": "ml-agents",
"token_count": 830
} | 1,887 |
using NUnit.Framework;
using System.IO;
using Unity.MLAgents.SideChannels;
namespace Unity.MLAgents.Tests
{
public class SamplerTests
{
const int k_Seed = 1337;
const double k_Epsilon = 0.0001;
EnvironmentParametersChannel m_Channel;
public SamplerTests()
{
... | ml-agents/com.unity.ml-agents/Tests/Editor/SamplerTests.cs/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/SamplerTests.cs",
"repo_id": "ml-agents",
"token_count": 2123
} | 1,888 |
fileFormatVersion: 2
guid: 07e2de94fa37b49c3bdf7a21857c0f73
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
| ml-agents/com.unity.ml-agents/Tests/Editor/TestModels/old_serialized_agent.prefab.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Editor/TestModels/old_serialized_agent.prefab.meta",
"repo_id": "ml-agents",
"token_count": 67
} | 1,889 |
fileFormatVersion: 2
guid: 3de9cbda816e4d7b907e765577dd54f7
timeCreated: 1572568337 | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/ObservationWriterTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/ObservationWriterTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 42
} | 1,890 |
fileFormatVersion: 2
guid: 7b071fdf91474d18a05ea20175c6b3bd
timeCreated: 1572564843 | ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/StackingSensorTests.cs.meta/0 | {
"file_path": "ml-agents/com.unity.ml-agents/Tests/Runtime/Sensor/StackingSensorTests.cs.meta",
"repo_id": "ml-agents",
"token_count": 41
} | 1,891 |
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Nami... | ml-agents/com.unity.ml-agents/com.unity.ml-agents.sln.DotSettings/0 | {
"file_path": "ml-agents/com.unity.ml-agents/com.unity.ml-agents.sln.DotSettings",
"repo_id": "ml-agents",
"token_count": 820
} | 1,892 |
behaviors:
Crawler:
trainer_type: ppo
hyperparameters:
batch_size: 2048
buffer_size: 20480
learning_rate: 0.0003
beta: 0.005
epsilon: 0.2
lambd: 0.95
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: true
hidden_units: 512
... | ml-agents/config/ppo/Crawler.yaml/0 | {
"file_path": "ml-agents/config/ppo/Crawler.yaml",
"repo_id": "ml-agents",
"token_count": 268
} | 1,893 |
behaviors:
3DBallHard:
trainer_type: sac
hyperparameters:
learning_rate: 0.0003
learning_rate_schedule: constant
batch_size: 256
buffer_size: 500000
buffer_init_steps: 0
tau: 0.005
steps_per_update: 10.0
save_replay_buffer: false
init_entcoef: 1.0
re... | ml-agents/config/sac/3DBallHard.yaml/0 | {
"file_path": "ml-agents/config/sac/3DBallHard.yaml",
"repo_id": "ml-agents",
"token_count": 310
} | 1,894 |
{!../CODE_OF_CONDUCT.md!}
| ml-agents/docs/CODE_OF_CONDUCT.md/0 | {
"file_path": "ml-agents/docs/CODE_OF_CONDUCT.md",
"repo_id": "ml-agents",
"token_count": 16
} | 1,895 |
# Example Learning Environments
<img src="../images/example-envs.png" align="middle" width="3000"/>
The Unity ML-Agents Toolkit includes an expanding set of example environments
that highlight the various features of the toolkit. These environments can also
serve as templates for new environments or as ways to test n... | ml-agents/docs/Learning-Environment-Examples.md/0 | {
"file_path": "ml-agents/docs/Learning-Environment-Examples.md",
"repo_id": "ml-agents",
"token_count": 5684
} | 1,896 |
# Table of Contents
* [mlagents.trainers.optimizer.torch\_optimizer](#mlagents.trainers.optimizer.torch_optimizer)
* [TorchOptimizer](#mlagents.trainers.optimizer.torch_optimizer.TorchOptimizer)
* [create\_reward\_signals](#mlagents.trainers.optimizer.torch_optimizer.TorchOptimizer.create_reward_signals)
* [... | ml-agents/docs/Python-Optimizer-Documentation.md/0 | {
"file_path": "ml-agents/docs/Python-Optimizer-Documentation.md",
"repo_id": "ml-agents",
"token_count": 1052
} | 1,897 |
{!../com.unity.ml-agents.extensions/Documentation~/com.unity.ml-agents.extensions.md!}
| ml-agents/docs/com.unity.ml-agents.extensions.md/0 | {
"file_path": "ml-agents/docs/com.unity.ml-agents.extensions.md",
"repo_id": "ml-agents",
"token_count": 33
} | 1,898 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.