Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,844 for asset0 (0.12 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

            assert modes.size() == 1
            assertThat(modes.get(0), equalTo(fileMode))
            this
        }
    
        def assertContainsFile(String relativePath) {
            assert filesByRelativePath.keySet().contains(relativePath)
            this
        }
    
        def assertNotContainsFile(String relativePath) {
            assert !filesByRelativePath.keySet().contains(relativePath)
            this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

    }
    
    def AssetSinkingPass : Pass<"tf-saved-model-asset-sinking", "mlir::ModuleOp"> {
      let summary = "Sinks SavedModel asset filenames to constants";
    
      let description = [{
        This pass sinks arguments of SavedModel methods that are bounded to
        `tf_saved_model.asset` into constants in the methods. After the pass, unused
        asset ops are removed from the module.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    // If there were no function aliases in the input model, this should be empty.
    // * `asset_file_defs` include information about the assets, if any, that are
    // used directly to initialize resources (like hash tables). If no assets are
    // used in the model, this should be empty.
    absl::StatusOr<tensorflow::quantization::ExportedModel>
    ConvertMlirModuleToExportedModel(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/failure/mappers/AssertjMultipleAssertionsErrorMapperTest.groovy

            then:
            assert mappedFailure.causes.size() == 3
            assert mappedFailure.rawFailure instanceof MultipleAssertionsError
        }
    
        def "maps inner assertion failures correctly"() {
            when:
            def innerErrors = mapper.mapInnerFailures(error, rootMapper)
    
            then:
            innerErrors.eachWithIndex { tf, i ->
                assert tf.causes.size() == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

        /**
         * Asserts that exactly the given set of tasks have been executed in any order.
         */
        ExecutionResult assertTasksExecuted(Object... taskPaths);
    
        /**
         * Asserts that the given task has been executed.
         */
        ExecutionResult assertTaskExecuted(String taskPath);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_model_utils.h

                             std::unique_ptr<Variable>* output);
    
    Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset,
                          const std::string& saved_model_dir,
                          absl::Span<const AssetFileDef> assets,
                          std::unique_ptr<Asset>* output);
    
    // Creates a TFConcreteFunction from a SavedConcreteFunction.
    Status LoadTFConcreteFunction(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 04:18:52 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h

      // Order of declaration is important here: we want the RestoredResources to be
      // freed after TFConcreteFunctions, for example.
      gtl::FlatMap<int, std::unique_ptr<Variable>> variables;
      gtl::FlatMap<int, std::unique_ptr<Asset>> assets;
      gtl::FlatMap<int, std::unique_ptr<Constant>> constants;
      gtl::FlatMap<int, std::unique_ptr<TFSignatureDefFunction>>
          signature_def_functions;
      RevivedObjectContainer<TFConcreteFunction> concrete_functions;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 05 23:10:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

      ModuleOp module = getOperation();
    
      // Create a temporary saved model's asset file.
      SmallString<256> tempdir;
      std::error_code error_code =
          llvm::sys::fs::createUniqueDirectory("saved-model", tempdir);
      if (error_code) return signalPassFailure();
      error_code =
          llvm::sys::fs::create_directories(Twine(tempdir) + "/assets", false);
      if (error_code) return signalPassFailure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top