- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for is_initialized (0.29 sec)
-
tensorflow/compiler/jit/xla_launch_util.cc
<< " at input index: " << actual_input_index << " with shape " << write.shape.DebugString() << "; variable tensor has shape: " << var->tensor()->shape().DebugString(); if (var->is_initialized && var->tensor()->dtype() != write.type) { return errors::Internal("Mismatched type in variable write"); } TF_ASSIGN_OR_RETURN( Tensor output_tensor,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
*(*ptr)->tensor() = value; (*ptr)->is_initialized = true; return absl::OkStatus(); })); tensorflow::mutex_lock ml(*variable->mu()); if (validate_shape) { OP_REQUIRES(cc_ctx, (!variable->is_initialized || variable->tensor()->shape().IsSameSize(value.shape())),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_gpu_test.cc
const gtl::ArraySlice<T> data) { Tensor* init_var_value = CreateDeviceTensor<T>(shape, data); Var* var = new Var(DataTypeToEnum<T>::v()); *var->tensor() = *init_var_value; var->is_initialized = true; return var; } // Creates a Variable, adds it to the resource manager and also adds it as one // of the inputs in the context_ template <typename T>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 10K bytes - Viewed (0) -
tensorflow/compiler/jit/get_compiler_ir.cc
arg.kind = XlaCompiler::Argument::kResource; arg.resource_kind = XlaResource::kVariable; arg.definition_stack_trace = variable.definition_stack_trace(); TF_RET_CHECK(variable.var() && variable.var()->is_initialized); const Tensor* value = variable.var()->tensor(); arg.type = value->dtype(); arg.shape = value->shape(); arg.initialized = true; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
const gtl::ArraySlice<T> data) { Tensor* init_var_value = CreateDeviceTensor<T>(shape, data); Var* var = new Var(DataTypeToEnum<T>::v()); *var->tensor() = *init_var_value; var->is_initialized = true; return var; } // Creates a Variable, adds it to the resource manager and also adds it as one // of the inputs in the context_ template <typename T>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir
func.return %4 : tensor<2xf32> } // ----- // One resource, one read. _is_initialized is false, shouldn't be promoted. // CHECK-LABEL: func @main() func.func @main() -> tensor<f32> { // CHECK: "tf.VarHandleOp" %1 = "tf.VarHandleOp"() {container = "", shared_name = "x", _is_initialized = false} : () -> tensor<!tf_type.resource<tensor<f32>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 18.2K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
} namespace tensorflow { AbstractTensorInterface* TensorInterfaceFromTensor(const Tensor& src, Status* status) { *status = absl::OkStatus(); if (!src.IsInitialized()) { *status = FailedPrecondition( "attempt to use a tensor with an uninitialized value"); return nullptr; } if (src.NumElements() == 0) { auto* emptyTensor =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
return new ElevateWordSettings(this, client, settingsIndexName, settingsId); } public String getSettingsIndexName() { return settingsIndexName; } public boolean isInitialized() { return initialized; } public String getSettingsId() { return settingsId; } private Map<String, Object> defaultSettings() {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 11.7K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt
val functionsWithAnnotationToCheckCalls: MutableSet<String> = mutableSetOf() override fun generate(moduleFragment: IrModuleFragment, pluginContext: IrPluginContext) { assertFalse { ::result.isInitialized } val dumpOptions = DumpIrTreeOptions( normalizeNames = true, stableOrder = true, printModuleName = false, printFilePath = false )
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
} bool TF_CoordinationServiceIsInitialized(TF_CoordinationServiceAgent* agent) { if (agent == nullptr) return false; auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent); return cc_agent->IsInitialized(); } void TF_CoordinationServiceInsertKeyValue(const char* key, int64_t key_size, const char* value, int64_t value_size,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0)