Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,844 for asset0 (0.11 sec)

  1. okhttp/src/test/java/okhttp3/RecordedResponse.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.isBetween
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.text.SimpleDateFormat
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. 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)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/UrlValidator.groovy

            assert url.text.contains(contents)
        }
    
        /**
         * Asserts that the content at the specified url matches the content in the provided String
         */
        static void assertUrlContent(URL url, String contents) {
            assert TextUtil.normaliseLineSeparators(url.text) == TextUtil.normaliseLineSeparators(contents)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/RunningPlayApp.groovy

        }
    
        void verifyContent() {
            // Check all static assets from the shared content
            assertUrlContent playUrl("assets/stylesheets/main.css"), testDirectory.file("public/stylesheets/main.css")
            assertUrlContent playUrl("assets/javascripts/hello.js"), testDirectory.file("public/javascripts/hello.js")
            assertBinaryUrlContent playUrl("assets/images/favicon.svg"), testDirectory.file("public/images/favicon.svg")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

        // Verify that the listener executed in a reasonable amount of time.
        Assert.assertTrue(countDownLatch.await(1L, SECONDS));
    
        try {
          future.get();
          Assert.fail("This call was supposed to throw an ExecutionException");
        } catch (ExecutionException expected) {
          Assert.assertSame(expectedCause, expected.getCause());
        }
      }
    
      public void assertTimeout() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h

    // and maps to the SignatureDefFunction node in the SavedObjectGraph.
    struct PartiallyRevivedObjects {
      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, TFConcreteFunctionRevivalState> concrete_functions;
      gtl::FlatMap<int, TFSignatureDefFunctionRevivalState> signature_def_functions;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 23:21:36 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.h

    // `tf_saved_model::AssetOp`s into regular tensor args. Returns `AsestFileDef`s
    // that associates the arg with the asset.
    //
    // In detail, this function performs the following:
    // * Replaces "tf_saved_model.bound_input" attributes to
    //   "tf_saved_model.index_path", if the bound input is attached to the
    //   `tf_saved_model::AssetOp`.
    // * Strips the "assets/" prefix of the filename when setting it to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 01:45:41 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

                 assertManifestPresentAndFirstEntry()
             }
         }
    
        /**
         * Asserts that the given service is defined in this jar file.
         */
        def hasService(String serviceName, String serviceImpl) {
            assertFilePresent("META-INF/services/$serviceName", serviceImpl)
        }
    
        /**
         * Asserts that the manifest file is present and first entry in this jar file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top