Home
last modified time | relevance | path

Searched +full:import +full:- +full:local (Results 1 – 25 of 1155) sorted by relevance

12345678910>>...47

/external/tensorflow/tensorflow/python/keras/layers/
Dserialization.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 # pylint: disable=wildcard-import
18 # pylint: disable=unused-import
20 import threading
22 from tensorflow.python import tf2
23 from tensorflow.python.keras.engine import base_layer
24 from tensorflow.python.keras.engine import input_layer
25 from tensorflow.python.keras.engine import input_spec
26 from tensorflow.python.keras.layers import advanced_activations
27 from tensorflow.python.keras.layers import convolutional
[all …]
/external/python/cpython2/Lib/test/
Dtest_threading_local.py1 import unittest
2 from doctest import DocTestSuite
3 from test import test_support as support
4 import weakref
5 import gc
10 import _threading_local
16 def target(local, weaklist): argument
18 local.weak = weak
29 local = self._local()
32 t = threading.Thread(target=target, args=(local, weaklist))
[all …]
/external/python/cpython3/Lib/test/
Dtest_threading_local.py1 import sys
2 import unittest
3 from doctest import DocTestSuite
4 from test import support
5 from test.support import threading_helper
6 from test.support.import_helper import import_module
7 import weakref
8 import gc
11 import _thread
12 import threading
[all …]
/external/tensorflow/tensorflow/python/keras/initializers/
D__init__.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 import threading
19 from tensorflow.python import tf2
20 from tensorflow.python.keras.initializers import initializers_v1
21 from tensorflow.python.keras.initializers import initializers_v2
22 from tensorflow.python.keras.utils import generic_utils
23 from tensorflow.python.keras.utils import tf_inspect as inspect
24 from tensorflow.python.ops import init_ops
25 from tensorflow.python.util.tf_export import keras_export
28 # LOCAL.ALL_OBJECTS is meant to be a global mutable. Hence we need to make it
[all …]
/external/sdv/vsomeip/third_party/boost/predef/tools/check/
Dpredef.jam9 import modules ;
10 import project ;
11 import feature ;
12 import string ;
13 import toolset ;
14 import modules ;
15 import path ;
16 import "class" : new ;
17 import regex ;
23 feature.feature predef-expression : : free ;
[all …]
/external/autotest/client/profilers/oprofile/
Doprofile.py3 OProfile is a system-wide profiler for Linux systems,
8 and several post-profiling tools for turning data into information.
11 Will need some libaries to compile. Do 'apt-get build-dep oprofile'
13 from __future__ import absolute_import
14 from __future__ import division
15 from __future__ import print_function
17 import logging
18 import os, shutil, time
20 from autotest_lib.client.bin import utils, profiler
21 from autotest_lib.client.common_lib import error
[all …]
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py2 # Use of this source code is governed by a BSD-style license that can be
10 # pylint: disable=unused-argument
12 import logging
13 import os
14 import subprocess
16 from devil.android import device_errors
17 from devil.android.sdk import adb_wrapper
18 from devil.utils import cmd_helper
46 def Push(self, local, remote, **kwargs): argument
50 local: Path on the host filesystem.
[all …]
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DL.java3 import android.content.Context;
5 import androidx.annotation.NonNull;
6 import androidx.annotation.Nullable;
7 import androidx.annotation.RestrictTo;
9 import com.airbnb.lottie.network.DefaultLottieNetworkFetcher;
10 import com.airbnb.lottie.network.LottieNetworkCacheProvider;
11 import com.airbnb.lottie.network.LottieNetworkFetcher;
12 import com.airbnb.lottie.network.NetworkCache;
13 import com.airbnb.lottie.network.NetworkFetcher;
14 import com.airbnb.lottie.utils.LottieTrace;
[all …]
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java4 * Use of this source code is governed by a BSD-style license
13 import static org.junit.Assert.assertTrue;
14 import static org.junit.Assert.fail;
16 import android.os.Build;
17 import android.support.test.InstrumentationRegistry;
18 import android.support.test.runner.AndroidJUnit4;
19 import android.util.Log;
20 import androidx.test.filters.SmallTest;
21 import java.util.ArrayList;
22 import java.util.List;
[all …]
/external/python/cpython3/Lib/
D_threading_local.py1 """Thread-local objects.
3 (Note that this module provides a Python version of the threading.local
5 faster one available. You should always import the `local` class from
8 Thread-local objects support the management of thread-local data.
9 If you have data that you want to be local to a thread, simply create
10 a thread-local object and use its attributes:
12 >>> mydata = local()
17 You can also access the local-object's dictionary:
26 What's important about thread-local objects is that their data are
27 local to a thread. If we access the data in a different thread:
[all …]
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DCode.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import com.android.dx.rop.code.BasicBlockList;
20 import com.android.dx.rop.code.Insn;
21 import com.android.dx.rop.code.PlainCstInsn;
22 import com.android.dx.rop.code.PlainInsn;
23 import com.android.dx.rop.code.RegisterSpecList;
24 import com.android.dx.rop.code.Rop;
25 import com.android.dx.rop.code.Rops;
26 import com.android.dx.rop.code.SourcePosition;
27 import com.android.dx.rop.code.ThrowingCstInsn;
[all …]
/external/python/cpython2/Demo/pdist/
Dcmptree.py1 """Compare local and remote dictionaries and transfer differing files -- like rdist."""
3 import sys
4 from repr import repr
5 import FSProxy
6 import time
7 import os
21 r - read different files to local file system
22 w - write different files to remote file system
23 c - create new files, either remote or local
24 d - delete disappearing files, either remote or local
[all …]
/external/angle/build/android/pylib/base/
Dtest_run_factory.py2 # Use of this source code is governed by a BSD-style license that can be
6 from pylib.gtest import gtest_test_instance
7 from pylib.hostside import hostside_test_instance
8 from pylib.instrumentation import instrumentation_test_instance
9 from pylib.junit import junit_test_instance
10 from pylib.monkey import monkey_test_instance
11 from pylib.local.device import local_device_environment
12 from pylib.local.device import local_device_gtest_run
13 from pylib.local.device import local_device_instrumentation_test_run
14 from pylib.local.device import local_device_monkey_test_run
[all …]
/external/dagger2/java/dagger/hilt/android/plugin/main/src/test/kotlin/
DTransformTest.kt8 * http://www.apache.org/licenses/LICENSE-2.0 in <lambda>()
17 import com.google.common.truth.Truth.assertThat in <lambda>()
18 import java.io.DataInputStream in <lambda>()
19 import java.io.FileInputStream in <lambda>()
20 import javassist.bytecode.ByteArray in <lambda>()
21 import javassist.bytecode.ClassFile in <lambda>()
22 import javassist.bytecode.SignatureAttribute in <lambda>()
23 import org.gradle.testkit.runner.TaskOutcome in <lambda>()
24 import org.junit.Assert in <lambda>()
25 import org.junit.Before in <lambda>()
[all …]
/external/sdv/vsomeip/third_party/boost/numeric/ublas/
Dclblas.jam11 # /clblas//clblas -- The clblas library
13 import project ;
14 import ac ;
15 import errors ;
16 import feature ;
17 import "class" : new ;
18 import targets ;
19 import modules ;
20 import property-set ;
21 import toolset : using ;
[all …]
Dopencl.jam11 # /opencl//opencl -- The OpenCL library
13 import project ;
14 import ac ;
15 import errors ;
16 import feature ;
17 import "class" : new ;
18 import targets ;
19 import modules ;
20 import property-set ;
25 library-id = 0 ;
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/message2/
DMFDataModelValidator.java7 import java.util.HashSet;
8 import java.util.List;
9 import java.util.Set;
10 import java.util.StringJoiner;
12 import android.icu.message2.MFDataModel.Annotation;
13 import android.icu.message2.MFDataModel.CatchallKey;
14 import android.icu.message2.MFDataModel.Declaration;
15 import android.icu.message2.MFDataModel.Expression;
16 import android.icu.message2.MFDataModel.FunctionAnnotation;
17 import android.icu.message2.MFDataModel.FunctionExpression;
[all …]
/external/python/cpython2/Lib/
D_threading_local.py1 """Thread-local objects.
3 (Note that this module provides a Python version of the threading.local
5 faster one available. You should always import the `local` class from
8 Thread-local objects support the management of thread-local data.
9 If you have data that you want to be local to a thread, simply create
10 a thread-local object and use its attributes:
12 >>> mydata = local()
17 You can also access the local-object's dictionary:
26 What's important about thread-local objects is that their data are
27 local to a thread. If we access the data in a different thread:
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_distutils_adoption.py1 import os
2 import sys
3 import functools
4 import platform
5 import textwrap
7 import pytest
36 py_cmd = 'import {imports}; print(distutils.__file__)'.format(**locals())
37 cmd = ['python', '-c', py_cmd]
44 import sys
48 cmd = ['python', '-c', py_cmd]
[all …]
/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/message2/
DMFDataModelValidator.java6 import java.util.HashSet;
7 import java.util.List;
8 import java.util.Set;
9 import java.util.StringJoiner;
11 import com.ibm.icu.message2.MFDataModel.Annotation;
12 import com.ibm.icu.message2.MFDataModel.CatchallKey;
13 import com.ibm.icu.message2.MFDataModel.Declaration;
14 import com.ibm.icu.message2.MFDataModel.Expression;
15 import com.ibm.icu.message2.MFDataModel.FunctionAnnotation;
16 import com.ibm.icu.message2.MFDataModel.FunctionExpression;
[all …]
/external/sdv/vsomeip/third_party/boost/headers/build/
DJamfile5 import package ;
6 import path ;
7 import sequence ;
8 import set ;
9 import ../../../tools/boost_install/boost-install ;
10 import ../../../tools/boost_install/boost-install-dirs ;
12 # install-header-subdir
14 local header-subdir = [ boost-install-dirs.header-subdir ] ;
16 local install-header-subdir ;
18 if $(header-subdir)
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/examples/
DFibonacciMaker.java8 * http://www.apache.org/licenses/LICENSE-2.0
19 import com.android.dx.Code;
20 import com.android.dx.Comparison;
21 import com.android.dx.DexMaker;
22 import com.android.dx.Label;
23 import com.android.dx.Local;
24 import com.android.dx.MethodId;
25 import com.android.dx.TypeId;
26 import com.android.dx.BinaryOp;
28 import java.io.File;
[all …]
/external/cronet/build/android/pylib/base/
Dtest_run_factory.py2 # Use of this source code is governed by a BSD-style license that can be
6 from pylib.gtest import gtest_test_instance
7 from pylib.instrumentation import instrumentation_test_instance
8 from pylib.junit import junit_test_instance
9 from pylib.monkey import monkey_test_instance
10 from pylib.local.device import local_device_environment
11 from pylib.local.device import local_device_gtest_run
12 from pylib.local.device import local_device_instrumentation_test_run
13 from pylib.local.device import local_device_monkey_test_run
14 from pylib.local.machine import local_machine_environment
[all …]
/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/
DLocalDynamoDb.java17 import static org.assertj.core.api.Assertions.assertThat;
19 import java.io.IOException;
20 import java.net.ServerSocket;
21 import java.net.URI;
22 import java.util.Optional;
23 import com.amazonaws.services.dynamodbv2.local.main.ServerRunner;
24 import com.amazonaws.services.dynamodbv2.local.server.DynamoDBProxyServer;
25 import software.amazon.awssdk.auth.credentials.AwsBasicCredentials;
26 import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
27 import software.amazon.awssdk.core.interceptor.Context;
[all …]
/external/skia/infra/bots/
Dgit_utils.py3 # Use of this source code is governed by a BSD-style license that can be
8 import os
9 import re
10 import shutil
11 import subprocess
12 import tempfile
14 import utils
18 """Class to manage local git configs."""
27 'git', 'config', '--local', k]).decode('utf-8').rstrip()
33 subprocess.check_call(['git', 'config', '--local', k, v])
[all …]

12345678910>>...47