Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for assign_id (0.16 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/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)
  3. 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)
  4. 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)
  5. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

            val (rhs1, rhs2) = rhsOrigins
    
            with(rhs1.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my1", function.simpleName)
            }
    
            with(rhs2.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my2", function.simpleName)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. pkg/volume/util/recyclerclient/recycler_client_test.go

    				newPodEvent(watch.Added, "podRecyclerDeleted", v1.PodPending, ""),
    				newEvent(v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerDeleted to 127.0.0.1"),
    				newPodEvent(watch.Deleted, "podRecyclerDeleted", v1.PodPending, ""),
    			},
    			expectedEvents: []mockEvent{
    				{v1.EventTypeNormal, "Successfully assigned recycler-for-podRecyclerDeleted to 127.0.0.1"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  7. .github/workflows/stale-issues.yml

            uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b # v7.0.0
            with:
              #Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
              exempt-issue-labels: 'override-stale'
              #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
              exempt-pr-labels: "override-stale"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 23 20:04:38 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoUtils.kt

                }
                is AssignmentTraceElement.RecordedAssignment -> {
                    val assigned = trace.resolvedAssignments.getValue(element.lhs) as Assigned
                    println("${element.lhs} := ${element.rhs} => ${assigned.objectOrigin}")
                }
            }
        }
    }
    
    
    fun printResolvedAssignments(result: ResolutionResult) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc

      // Move assign ops after replicate and use the output of first replica.
      for (auto indexed_assign : llvm::enumerate(tail_assign_variable_ops)) {
        auto assign_op = indexed_assign.value();
        auto index = indexed_assign.index();
        assign_op->moveAfter(new_replicate_op);
        assign_op->setOperand(
            1, new_replicate_op->getResult(old_num_results + num_replicas * index));
      }
      replicate_op->erase();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

        printResolvedAssignments(result)
    }
    
    
    class Tests {
        @Test
        fun `unit assigned to val is reported as an error`() {
            val result = schema.resolve("val x = plugins { }")
            assertTrue { result.errors.single().errorReason == ErrorReason.UnitAssignment }
        }
    
        @Test
        fun `unit assigned to property is reported as an error`() {
            val result = schema.resolve("plugins = plugins { }")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top