Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for capture1 (0.12 sec)

  1. tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc

      // Capture is at index "10"
      saved.add_bound_inputs(10);
    
      // `func` has 4 inputs
      FunctionDef func = FuncDefWithNumInputsOutputs(4, 0);
    
      // `captures` only has a capture for index 5
      std::unordered_map<int, std::unique_ptr<TensorHandleConvertible>> captures;
      captures[5] = std::make_unique<DummyCapture>(context(), 10);
    
      std::unique_ptr<TFConcreteFunction> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/regexp/example_test.go

    	option1: value1
    	option2: value2
    
    	# another comment line
    	option3: value3
    `)
    
    	// Regex pattern captures "key: value" pair from the content.
    	pattern := regexp.MustCompile(`(?m)(?P<key>\w+):\s+(?P<value>\w+)$`)
    
    	// Template to convert "key: value" to "key=value" by
    	// referencing the values captured by the regex pattern.
    	template := []byte("$key=$value\n")
    
    	result := []byte{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

    // This resource should be replaced by 'value'.
    // Output params:
    // - work_list: Is updated with new regions to process that is called
    //   by 'user_op';
    // - arguments_to_erase: Captures updates to the graph - which arguments
    //   to remove from the op;
    void PropagateUsage(
        Operation* user_op, int argument_index, ElementsAttr value,
        llvm::SmallVector<std::pair<Region*, int>, 4>* work_list,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginSyntheticIntegrationTest.kt

                assertNotOutput("STDERR from plugins block")
                // TODO logging is not captured yet
                assertOutputContains("LIFECYCLE")
                assertOutputContains("WARN")
                assertHasErrorOutput("ERROR")
            }
        }
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/12955")
        fun `captures output of schema collection but not of concurrent tasks`() {
    
            val repeatOutput = 50
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 07:16:19 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

      std::vector<ImmediateExecutionTensorHandle*> captures;
      captures.reserve(capture_node_ids.size());
      for (int capture_node_id : capture_node_ids) {
        ImmediateExecutionTensorHandle* capture_handle;
        TF_RETURN_IF_ERROR(TensorHandleFromNode(capture_node_id, obj_graph, objects,
                                                &capture_handle));
        captures.push_back(capture_handle);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

      TF_RETURN_IF_ERROR(ValidateSavedFunctionCompatibleWithFunctionDef(
          saved_concrete_function, function_def));
    
      // Copy over captures
      std::vector<ImmediateExecutionTensorHandle*> captures;
      captures.reserve(saved_concrete_function.bound_inputs_size());
      for (int bound_input : saved_concrete_function.bound_inputs()) {
        auto iter = captured_objects.find(bound_input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitCategoriesOrTagsCoverageIntegrationSpec.groovy

        }
    
        /**
         * Fixture for capturing simple test class requirements.  Note that this class should be used only for simple test classes
         * and should not be enhanced to capture complex test classes with arbitrary features.  Complex test classes should be captured
         * with a raw {@link TestSource} fixture.
         */
        class TestClass {
            final String name
            final String packageName
            final String sourceSet
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 14:54:49 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. src/runtime/tracestack.go

    	// value at pcBuf[0] represents a skip value to apply to the physical stack in
    	// pcBuf[1:] after inline expansion.
    	logicalStackSentinel = ^uintptr(0)
    )
    
    // traceStack captures a stack trace from a goroutine and registers it in the trace
    // stack table. It then returns its unique ID. If gp == nil, then traceStack will
    // attempt to use the current execution context.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java

         *
         * @param type the {@literal Class}
         * @param <T> the parameterized type of the given {@literal Class}
         * @return the {@literal TypeOf} that captures the generic type of the given {@literal Class}
         */
        public static <T> TypeOf<T> typeOf(Class<T> type) {
            return new TypeOf<T>(
                ModelType.of(typeWhichCannotBeNull(type))) {
            };
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

        [SingleBlockImplicitTerminator<"ReturnOp">]> {
      let summary = [{
    The `tf_device.launch` op launches containing operations on target device.
      }];
    
      let description = [{
    This op captures all needed live-in values.
      }];
    
      let arguments = (ins
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let regions = (region SizedRegion<1>:$body);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top