- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,148 for asset1 (0.22 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
} TEST(CreateExportedModelTest, CreateExportedModelWithAddedAssetFileDefs) { AssetFileDef asset1; ASSERT_TRUE( TextFormat::ParseFromString(R"pb(filename: "fname1")pb", &asset1)); AssetFileDef asset2; ASSERT_TRUE( TextFormat::ParseFromString(R"pb(filename: "fname2")pb", &asset2)); const ExportedModel exported_model = CreateExportedModelFromGraphDef(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesCopyIntegrationTest.groovy
outputDir.file('web.xml').isFile() outputDir.file('index-staging.html').isFile() outputDir.file('products/gradle-staging.html').isFile() outputDir.file('asset1.txt').isFile() where: dsl << ['groovy', 'kotlin'] } @UsesSample("files/copy") @ToBeFixedForConfigurationCache(because = "https://github.com/gradle/gradle/issues/22536")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 15.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
objects->constants[i] = std::move(constant); } else if (node.kind_case() == SavedObject::kAsset) { std::unique_ptr<Asset> asset; TF_RETURN_IF_ERROR( LoadSavedAsset(context, node.asset(), directory, assets, &asset)); objects->assets[i] = std::move(asset); } else if (node.kind_case() == SavedObject::kResource) { RestoredResourceRevivalState resource_revival_state;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
return Status(); } case SavedObject::kAsset: { const auto& assets_iter = objects.assets.find(node_id); if (assets_iter == objects.assets.end()) { return absl::FailedPreconditionError(absl::StrCat( "Tried to convert node id ", node_id, " of type asset to tensor but the asset wasn't initialized")); } *handle = assets_iter->second->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) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy
assert configuredProjects.collect { fullPath(it) }.toSet() == details.projects // Scripts - one or more for settings, and one for each project build script def scripts = buildOperations.all(ApplyScriptPluginBuildOperationType) assert !scripts.empty def sortedScripts = scripts.toSorted { it -> it.startTime } assert sortedScripts.first().details.targetType == "settings"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
from tensorflow.python.saved_model import loader_impl from tensorflow.python.trackable import autotrackable from tensorflow.python.types import core # Name of the saved model assets directory. _ASSETS_DIR = 'assets' _ASSETS_EXTRA_DIR = 'assets.extra' # Type variable for a type that is not `None`. This represents a return value of # methods in `PyFunctionLibrary` that should not be `None`, as `None` represents
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy
assert startEvent instanceof FileDownloadStartEvent assert finishEvent instanceof FileDownloadFinishEvent assert descriptor instanceof FileDownloadOperationDescriptor assert descriptor.uri == uri assert descriptor.displayName == "Download " + uri assert finishEvent.result instanceof FileDownloadResult assert finishEvent.result.bytesDownloaded == size
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 23 13:50:05 UTC 2024 - 21.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy
import org.junit.Test; import static org.junit.Assert.*; public class FailingTest { @Test public void pass() { } @Test public void failWithAssertStatement() { assert false; } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 22.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
public TestFile makeUnreadable() { boolean success = setReadable(false, false); assert success; assert !Files.isReadable(toPath()); return this; } public TestFile makeReadable() { boolean success = setReadable(true, false); assert success; assert Files.isReadable(toPath()); return this; } public TestFile createFile(Object path) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
// basic types have size guarantees assert(unsafe.Sizeof(byte(0)) == 1) assert(unsafe.Sizeof(uint8(0)) == 1) assert(unsafe.Sizeof(int8(0)) == 1) assert(unsafe.Sizeof(uint16(0)) == 2) assert(unsafe.Sizeof(int16(0)) == 2) assert(unsafe.Sizeof(uint32(0)) == 4) assert(unsafe.Sizeof(int32(0)) == 4) assert(unsafe.Sizeof(float32(0)) == 4) assert(unsafe.Sizeof(uint64(0)) == 8) assert(unsafe.Sizeof(int64(0)) == 8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0)