- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for create_resource (0.23 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.h
// create_resource function to produce the resource_handle // associated with the object: // https://github.com/tensorflow/tensorflow/blob/568e2bef00f24af1159a0846abf67c099ca78a21/tensorflow/python/training/tracking/tracking.py#L246-L247 // create_resource - Non owning pointer to the create_resource function
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 23 04:49:47 UTC 2020 - 4.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
TFConcreteFunction* create_resource = nullptr; // Check all the functions associated with the resource have already been // initialized in `revived` if (resource_revival_state.create_resource != nullptr) { create_resource = revived->concrete_functions.Find( resource_revival_state.create_resource->node_id); if (create_resource == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc
TFConcreteFunction* create_resource, TFConcreteFunction* initialize, TFConcreteFunction* destroy_resource, ImmediateTensorHandlePtr resource_handle) : TensorHandleConvertible(std::move(resource_handle)), device_(device), create_resource_(create_resource), initialize_(initialize),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/force_shared_name_for_resource_ops.pbtxt
# CHECK: "tf.VariableV2" # CHECK-SAME: shared_name = "variable_v2_node" # CHECK: "tf.BatchFunction" # CHECK-SAME: shared_name = "batch_node" # CHECK: func private @create_resource # CHECK: tf.HashTableV2 # CHECK-SAME: shared_name = "hash_table_node@create_resource" # CHECK: "tf.Variable" # CHECK-SAME: shared_name = "variable_node" # CHECK: "tf.VariableV2" # CHECK-SAME: shared_name = "variable_v2_node" # CHECK: "tf.BatchFunction"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 31 02:37:48 UTC 2021 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource_revival_state.h
struct RestoredResourceRevivalState { std::string device; TFConcreteFunctionRevivalState* create_resource = nullptr; TFConcreteFunctionRevivalState* initialize = nullptr; TFConcreteFunctionRevivalState* destroy_resource = nullptr; ImmediateTensorHandlePtr resource_handle = nullptr; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 23 04:49:47 UTC 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
// Note(bmzhao): The expected functions saved by a resource object are: // "_create_resource", "_initialize", and "_destroy_resource". // https://github.com/tensorflow/tensorflow/blob/ad66f588c1666ade8051feb42811fa27b285271c/tensorflow/python/training/tracking/tracking.py#L277-L281 if (child.local_name() == "_create_resource" && obj_graph.nodes(child.node_id()).kind_case() == SavedObject::kFunction) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java
private static final String SNAPSHOT_WRAPPERS = "snapshotWrappers"; private static final String DOWNLOADED_RESOURCES = "downloadedResources"; private static final String CREATED_RESOURCES = "createdResources"; private static final String BUILD_CACHE = "buildCache"; static final String UNSAFE_MODIFICATION_ERROR = "The property '%s' was modified from an unsafe location (for instance a settings script or plugin). " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 14.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy
filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt", methodInside("Bar"), methodInside("Bar")) then: !result.fullRebuildCause } def "packages are valid originating elements"() { when: filer.createSourceFile("Foo", pkg("fizz")) filer.createResource(StandardLocation.SOURCE_OUTPUT, "", "foo.txt", pkg("fizz"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 5K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AggregatingFilerTest.groovy
def "resources with same path but different location are distinct"() { when: filer.createResource(StandardLocation.SOURCE_OUTPUT, "com.enterprise.software", "foo.txt", type("A")) filer.createResource(StandardLocation.CLASS_OUTPUT, "com.enterprise.software", "foo.txt", type("A")) filer.createResource(StandardLocation.NATIVE_HEADER_OUTPUT, "com.enterprise.software", "foo.txt", type("A")) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/WbResourceTest.groovy
then: wbResource == createWbResource() } def canWriteToXml() { Node rootNode = new Node(null, 'root') when: createWbResource().appendNode(rootNode) then: new WbResource(rootNode.'wb-resource'[0]) == createWbResource() } def equality() { WbResource wbResource = createWbResource() wbResource.sourcePath += 'x'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 1.5K bytes - Viewed (0)