- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,052 for Initializer (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/remove_init_variable_v1.py
# CHECK-NEXT: return [[R1]] : tensor<3x3xf32> def Test(): x = tf.constant([[1.0], [1.0], [1.0]]) y = tf.compat.v1.get_variable( name='y', shape=(1, 3), initializer=tf.random_normal_initializer(), trainable=True) r = tf.matmul(x, y) tensor_info_x = tf.compat.v1.saved_model.utils.build_tensor_info(x) tensor_info_r = tf.compat.v1.saved_model.utils.build_tensor_info(r)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go
// if a namespace is in this cache, then we will ignore our local state and always fetch latest from api server. forceLiveLookupCache *utilcache.LRUExpireCache } var _ = initializer.WantsExternalKubeInformerFactory(&Lifecycle{}) var _ = initializer.WantsExternalKubeClientSet(&Lifecycle{}) // Admit makes an admission decision based on the request attributes
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 15 09:52:18 UTC 2021 - 8.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
} emitted[info] = true infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment) if infoLhs == nil { infoLhs = []*Var{v} } init := &Initializer{infoLhs, info.init} check.Info.InitOrder = append(check.Info.InitOrder, init) } if debug { fmt.Println() fmt.Println("Initialization order:") for _, init := range check.Info.InitOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
} emitted[info] = true infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment) if infoLhs == nil { infoLhs = []*Var{v} } init := &Initializer{infoLhs, info.init} check.Info.InitOrder = append(check.Info.InitOrder, init) } if debug { fmt.Println() fmt.Println("Initialization order:") for _, init := range check.Info.InitOrder {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir
// RUN: tf-opt -split-input-file -tfl-insert-call-once-op %s | FileCheck %s // Tests that new call_once op is added when there is a session initializer. module attributes {tf_saved_model.semantics} { "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> () func.func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt
compilationClassPath: ClassPath, accessorsClassPath: ClassPath, initializer: (File) -> Unit ): File = baseCacheDir.resolve(programId.sourceHash.toString()).resolve(programId.templateId).also { cacheDir -> cacheDir.mkdirs() initializer(cacheDir) } override fun compilationClassPathOf(classLoaderScope: ClassLoaderScope): ClassPath =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java
.build(); } public static <C> ModelRegistration unmanaged(ModelRegistrations.Builder builder, Class<C> type, Factory<? extends C> initializer) { return unmanaged(builder, ModelType.of(type), initializer); } public static <C> ModelRegistration unmanaged(ModelRegistrations.Builder builder, Class<C> type, C c) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
src/internal/types/testdata/check/vardecl.go
import "math" func f() {} func g() (x, y int) { return } var m map[string]int // Var decls must have a type or an initializer. var _ int var _, _ int var _; /* ERROR "expected type" */ var _, _; /* ERROR "expected type" */ var _, _, _; /* ERROR "expected type" */ // The initializer must be an expression. var _ = int /* ERROR "not an expression" */ var _ = f /* ERROR "used as value" */ ()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_import_options.h
// If set, promote tf.VarHandleOp to resource arguments for all functions. bool lift_variables = true; // Keeps the variables in initializers before lifting variables (when // `lift_variables == true`) or newly adding variable initialization patterns // in the initializer functions. One might want to set this to `true` because // the `RemoveVariablesInSessionInitializerPass` pass, which runs otherwise,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 20 13:19:26 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_argument_view.h
public: explicit OpArgumentView(ArgSpec arg); explicit OpArgumentView(AttrSpec attr); explicit OpArgumentView(string type, string var, string def = ""); string Declaration() const; string Initializer() const; bool HasDefaultValue() const; private: string type_name_; string variable_name_; string default_value_; }; } // namespace cpp } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 01 21:05:56 UTC 2021 - 1.5K bytes - Viewed (0)