Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 647 for assign_id (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc

          for (Region& region : op->getRegions()) {
            for (auto region_arg : TF::filter_resources(region.getArguments()))
              assign_id(region_arg);
          }
    
          // Assign ID for all results.
          for (auto result : TF::filter_resources(op->getResults()))
            assign_id(result);
        });
    
        // Now walk each operation, and annotate it wil remarks for aliases for
        // each resource type result
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/target.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=AssignAdd -o - | FileCheck --check-prefix=PRUNE %s
    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-prune-unused-nodes -tf-control-output-arrays=Variable/Assign,AssignAdd -o - | FileCheck --check-prefix=PRESERVE %s
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/multi-output-feeds.pbtxt

    # ```
    # import tensorflow as tf
    #
    # with tf.compat.v1.Graph().as_default() as g:
    #   w = tf.constant(2.0)
    #   x = tf.constant(3.0)
    #   y = tf.constant(4.0)
    #   var = tf.Variable(2.0)
    #   var_add = var.assign_add(1.0)
    #   with g.control_dependencies([var_add]):
    #     z0, z1, z2 = tf.identity_n((w, x, y))
    #
    #   a = tf.add(z1, z2)
    # ```
    
    node {
      name: "w"
      op: "Const"
      attr {
        key: "dtype"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  4. pkg/registry/core/pod/storage/storage.go

    			Type:   api.PodScheduled,
    			Status: api.ConditionTrue,
    		})
    		finalPod = pod
    		return pod, nil
    	}), dryRun, nil)
    	return finalPod, err
    }
    
    // assignPod assigns the given pod to the given machine.
    func (r *BindingREST) assignPod(ctx context.Context, podUID types.UID, podResourceVersion, podID string, machine string, annotations map[string]string, dryRun bool) (err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 20 14:29:25 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/artifacts/repositories/AuthenticationSupported.java

         * <p>
         * If no credentials have been assigned to this repository, an empty set of credentials of the specified type is assigned to this repository and returned.
         *
         * @param credentialsType type of the credential
         * @return The credentials
         * @throws IllegalArgumentException when the credentials assigned to this repository are not assignable to the specified type
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 10 11:27:47 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc

      ImmediateOpPtr assign_op(ctx->CreateOperation());
      TF_RETURN_IF_ERROR(assign_op->Reset("AssignVariableOp", nullptr));
      TF_RETURN_IF_ERROR(assign_op->SetAttrType("dtype", dtype));
      TF_RETURN_IF_ERROR(assign_op->AddInput(variable_handle));
      TF_RETURN_IF_ERROR(assign_op->AddInput(value));
    
      int num_retvals = 0;
      TF_RETURN_IF_ERROR(assign_op->Execute({}, &num_retvals));
      return Status();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 11:28:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_var_init_by_const.cc

      // Inherit the constructors.
      using OpRewritePattern<TF::AssignVariableOp>::OpRewritePattern;
    
      LogicalResult match(TF::AssignVariableOp assign_op) const override {
        Value resource_operand = assign_op.getOperand(0);
        Value assigned_value_operand = assign_op.getOperand(1);
    
        if (isa<TF::VarHandleOp>(resource_operand.getDefiningOp()) &&
            isa<TF::ConstOp>(assigned_value_operand.getDefiningOp())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 12:04:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/core/v1/nodeconfigstatus.go

    package v1
    
    // NodeConfigStatusApplyConfiguration represents an declarative configuration of the NodeConfigStatus type for use
    // with apply.
    type NodeConfigStatusApplyConfiguration struct {
    	Assigned      *NodeConfigSourceApplyConfiguration `json:"assigned,omitempty"`
    	Active        *NodeConfigSourceApplyConfiguration `json:"active,omitempty"`
    	LastKnownGood *NodeConfigSourceApplyConfiguration `json:"lastKnownGood,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/DeclarativeReflectionToObjectConverter.kt

                    val assigned = objectReflection.properties.getValue(property)
                    applyPropertyValue(objectReflection.objectOrigin, property, assigned)
                    apply(assigned.value, conversionFilter)
                    // TODO: record properties assigned in function calls or constructors, so that
                    //       we can check that all properties were assigned
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/podresources/types.go

    type CPUsProvider interface {
    	// GetCPUs returns information about the cpus assigned to pods and containers
    	GetCPUs(podUID, containerName string) []int64
    	// GetAllocatableCPUs returns the allocatable (not allocated) CPUs
    	GetAllocatableCPUs() []int64
    }
    
    type MemoryProvider interface {
    	// GetMemory returns information about the memory assigned to containers
    	GetMemory(podUID, containerName string) []*podresourcesapi.ContainerMemory
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top