Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 755 for captures (0.14 sec)

  1. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.cc

      TF_RETURN_IF_ERROR((*out)->AddInputList(inputs));
    
      absl::Span<AbstractTensorHandle* const> captures(
          reinterpret_cast<AbstractTensorHandle* const*>(captures_.data()),
          captures_.size());
    
      // Adding the captures of the function.
      TF_RETURN_IF_ERROR((*out)->AddInputList(captures));
      return Status();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h

    // taking + returning flat lists of tensors, including any captures.
    // Effectively, it is a thin wrapper around a FunctionDef owned by the
    // EagerContext, and any TensorHandle captures associated with the function. The
    // MakeCallOp method handles the logic of marshaling captures after the user
    // provided inputs automatically.
    // Note(bmzhao): This class is mainly intended to house low-level reusable
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 21:03:41 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  4. cmd/os-instrumented.go

    }
    
    // Stat captures time taken to call os.Stat
    func Stat(name string) (info os.FileInfo, err error) {
    	defer updateOSMetrics(osMetricStat, name)(err)
    	return os.Stat(name)
    }
    
    // Create captures time taken to call os.Create
    func Create(name string) (f *os.File, err error) {
    	defer updateOSMetrics(osMetricCreate, name)(err)
    	return os.Create(name)
    }
    
    // Fdatasync captures time taken to call Fdatasync
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestProgressLoggingIntegrationTest.groovy

                ${mavenCentralRepository()}
                dependencies {
                    ${testFrameworkDependencies}
                }
                test.${configureTestFramework}
            """
        }
    
        def "captures test progress logging events" () {
            withGoodTestClasses(10)
    
            when:
            succeeds("test")
    
            then:
            events.statusLogged("0 tests completed")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. pkg/cache/cache.go

    // inaccuracies.
    type Stats struct {
    	// Writes captures the number of times state in the cache was added or updated.
    	Writes uint64
    
    	// Hits captures the number of times a Get operation succeeded to find an entry in the cache.
    	Hits uint64
    
    	// Misses captures the number of times a Get operation failed to find an entry in the cache.
    	Misses uint64
    
    	// Evictions captures the number of entries that have been evicted from the cache
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. 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)
  8. subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy

    class ApplyScriptPluginBuildOperationIntegrationTest extends AbstractIntegrationSpec {
    
        def operations = new BuildOperationsFixture(executer, temporaryFolder)
    
        def "captures gradle script events"() {
            given:
            def otherScript2 = file("script2.gradle") << ""
            def otherScript1 = file("script1.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function_revival_state.h

      const SavedConcreteFunction* saved_concrete_func = nullptr;
    
      // The name of the SignatureDef key.
      std::string signature_key;
    
      // TensorHandle captures for this funtion
      std::vector<ImmediateExecutionTensorHandle*> captures;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/groovy/scripts/GroovyCompileScriptBuildOperationIntegrationTest.groovy

        final static String CLASSPATH = "CLASSPATH"
        final static String BODY = "BODY"
    
        def setup() {
            executer.requireOwnGradleUserHomeDir()
        }
    
        def "captures script compilation build operations"() {
            given:
            settingsFile << "println 'settings.gradle'"
            buildFile << """
                apply from: 'script.gradle'
                println 'build.gradle'
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top