Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for assign_id (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. .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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/tests/resource_analyzer.mlir

    // RUN:        -split-input-file -tf-resource-analyzer-test %s \
    // RUN:   | FileCheck %s
    
    // TODO(b/269548549): Add tests to cover more patterns.
    
    // Test that VarHandleOp is not marked as "potentially written" if it is not
    // assigned inside the function called by "tf.BatchFunction".
    
    module {
    // CHECK-LABEL: @serving_default
      func.func @serving_default() -> (tensor<*xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc

      for (auto result : cluster_func.getResults()) {
        if (!result.hasOneUse()) continue;
    
        TF::AssignVariableOp assign_op = FindAssignVariableOp(result);
        if (!assign_op) continue;
    
        AliasInfo& alias_info = resource_alias_info_map[assign_op.getResource()];
        // TODO(b/184420848): We may not need to skip aliasing for entire function
        // in case of multiple assigns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top