Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for is_initialized (0.55 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt

            )
    
            val result = runtimeInstanceFromResult(schema, resolution, kotlinFunctionAsConfigureLambda, RuntimeCustomAccessors.none, ::TopLevel)
    
            assertTrue { result.configuredLazy.isInitialized() }
        }
    
        @Test
        fun `configuring function with no block for Kotlin default param leads to object access`() {
            val resolution = schema.resolve(
                """
                configuring()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

            private
            fun checkForFailure() {
                failure.getAndSet(null)?.let { throw it }
            }
        }
    
        override fun close() {
            executorService.apply {
                if (isInitialized()) {
                    value.shutdown()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/AccessorTest.kt

            val resolution = schema.resolve("configureCustomInstance { }")
            assertTrue(runtimeInstanceFromResult(schema, resolution, configureLambdas, runtimeCustomAccessors, ::MyReceiver).myHiddenInstance.isInitialized())
        }
    
    
        @Test
        fun `accesses receiver from runtime lambda argument mapping to JVM`() {
            val resolution = schema.resolve(
                """
                configureLambdaArgument {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pkg/proxy/winkernel/proxier.go

    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

      xla::Shape old_shape = xla::TypeToShape(t);
      XLA_Shape old_shape_c = {};
      XLA_Shape new_shape_c = {};
      TfTpu_ExecutorApiFn *executor = stream_executor::tpu::ExecutorApiFn();
      if (!stream_executor::tpu::IsInitialized(executor)) {
        return failure();
      }
      ApiConverter::ToC(old_shape, &old_shape_c);
      executor->TpuTransferManager_GetInfeedLayoutFn(&old_shape_c, &new_shape_c);
      xla::Shape new_shape = ApiConverter::FromC(&new_shape_c);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier.go

    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  10. pkg/proxy/iptables/proxier.go

    		proxier.Sync()
    	}
    }
    
    // OnEndpointSliceUpdate is called whenever modification of an existing endpoint
    // slice object is observed.
    func (proxier *Proxier) OnEndpointSliceUpdate(_, endpointSlice *discovery.EndpointSlice) {
    	if proxier.endpointsChanges.EndpointSliceUpdate(endpointSlice, false) && proxier.isInitialized() {
    		proxier.Sync()
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
Back to top