Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for asSet (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

          auto asset = LookupBoundInputOfType<AssetOp>(
              func, argument.getArgNumber(), symbol_table);
          if (asset == nullptr) {
            continue;
          }
    
          // Create a const op for the asset if it doesn't already exist.
          auto it = const_ops.find(asset.getSymName());
          if (it == const_ops.end()) {
            // Asset filenames are relative to the SavedModel directory.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

        void recompiledClasses(String... classNames) {
            assert changedFileNames == asSet(classNames)
        }
    
        void recompiledFqn(String... classNames) {
            assert getChangedFileNames(true) == asSet(classNames)
        }
    
        //asserts files deleted since last snapshot.
        void deletedFiles(String... fileNames) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/loader_util.cc

                            std::vector<AssetFileDef>* asset_file_defs) {
      // With SavedModel v2, we write asset file def into metagraph instead of
      // collection, so read from metagraph first.
      if (meta_graph_def.asset_file_def_size() > 0) {
        for (const auto& asset : meta_graph_def.asset_file_def()) {
          asset_file_defs->push_back(asset);
        }
        return absl::OkStatus();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          * output_tensor is a float 2x2 matrix
        """
        # Creates and populates an asset file.
        asset_dir = self.create_tempdir('assets').full_path
        asset_file = os.path.join(asset_dir, 'vocab_file.txt')
        file_io.write_string_to_file(
            filename=asset_file, file_content='hello,model,quantization\n'
        )
    
        vocab_file = asset.Asset(asset_file)
    
        raw_vocab = io_ops.read_file(vocab_file)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.h

    // the value `checkpoint_path`.
    // Also adds SessionInitializer op.
    absl::Status AddSessionInitializerAndInlineCheckpoint(
        ModuleOp module, absl::string_view checkpoint_path);
    
    // Creates a pass that sinks SavedModel asset filenames to constants.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateAssetSinkingPass(
        llvm::StringRef saved_model_dir);
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

       *
       * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For
       * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty
       * ranges {@code [3..3)} and {@code [4..4)}.
       *
       * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/OptionalTest.java

        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
      public void testAsSet_absent() {
        assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty());
      }
    
      public void testAsSet_presentIsImmutable() {
        Set<String> presentAsSet = Optional.of("a").asSet();
        try {
          presentAsSet.add("b");
          fail();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        public static Test suite() {
          TestSuite suite = new TestSuite();
    
          suite.addTest(
              NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator())
                  .named("Range.asSet")
                  .withFeatures(
                      CollectionSize.ANY,
                      KNOWN_ORDER,
                      ALLOWS_NULL_QUERIES,
                      NON_STANDARD_TOSTRING,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        function_aliases: Function name -> function alias mapping.
        asset_file_defs: `AssetFileDef`s that associates the asset files and the
          name of the tensors to which the asset file names should be fed. The
          caller should make sure the asset files exist in the output saved model
          directory.
    
      Raises:
        ValueError iff the graph does not contain a valid signature or the file
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top