- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 558 for input_stream (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/parse_text_proto.cc
TF_RETURN_IF_ERROR( ConsumePrefix(text_proto, prefix_to_strip, &text_proto_without_prefix)); } protobuf::io::ArrayInputStream input_stream(text_proto_without_prefix.data(), text_proto_without_prefix.size()); if (parser.Parse(&input_stream, parsed_proto)) { return absl::OkStatus(); } parsed_proto->Clear();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc
absl::StatusOr<QuantizationSpecs> ParseTextProto( const absl::string_view text_proto) { QuantizationSpecs quantization_specs; TextFormat::Parser parser; ArrayInputStream input_stream(text_proto.data(), text_proto.size()); if (parser.Parse(&input_stream, &quantization_specs)) { return quantization_specs; } return absl::InvalidArgumentError("Could not parse text proto."); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 23:21:42 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc
TF_RETURN_IF_ERROR( env->NewRandomAccessFile(string(gzipped_pbtxt_file_path), &file_reader)); std::unique_ptr<io::RandomAccessInputStream> input_stream( new io::RandomAccessInputStream(file_reader.get())); constexpr int k_buffer_size = 256 << 10; // 256kb io::ZlibInputStream in(input_stream.get(), /*input_buffer_bytes=*/k_buffer_size, /*output_buffer_bytes=*/k_buffer_size,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 12:11:46 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
absl::Status ParseTextProto(absl::string_view text_proto, Message* parsed_proto) { TextFormat::Parser parser; // Attempt to parse as text. ArrayInputStream input_stream(text_proto.data(), text_proto.size()); if (parser.Parse(&input_stream, parsed_proto)) { return absl::OkStatus(); } parsed_proto->Clear(); return absl::InvalidArgumentError( absl::StrCat("Could not parse text proto: ", text_proto)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectInputStream.java
try { return createNewInstance(inputStream); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); } } }; } protected ExceptionReplacingObjectInputStream createNewInstance(InputStream inputStream) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Message.java
* * @param inputSteam stream to read the object from * @param classLoader loader used to load exception classes * @return the de-serialized object */ public static Object receive(InputStream inputSteam, ClassLoader classLoader) throws IOException, ClassNotFoundException { ObjectInputStream ois = new ExceptionReplacingObjectInputStream(inputSteam, classLoader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 2.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/groovy/consumer/src/main/java/Application.java
import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class Application { public Properties readBuildInfo() throws IOException { Properties prop = new Properties(); InputStream inputStream = null; try { inputStream = Application.class.getClassLoader().getResourceAsStream("build-info.properties"); prop.load(inputStream); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 680 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
import java.io.IOException; import java.io.InputStream; /** * This inputstream ignores a close method. * * @author shinsuke * */ public class IgnoreCloseInputStream extends InputStream { private transient InputStream inputStream; public IgnoreCloseInputStream(final InputStream inputStream) { this.inputStream = inputStream; } @Override
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/multiproject/dependencies-outgoingArtifact/kotlin/consumer/src/main/java/Application.java
import java.io.IOException; import java.io.InputStream; import java.util.Properties; public class Application { public Properties readBuildInfo() throws IOException { Properties prop = new Properties(); InputStream inputStream = null; try { inputStream = Application.class.getClassLoader().getResourceAsStream("build-info.properties"); prop.load(inputStream); } finally {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 680 bytes - Viewed (0)