Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 945 for abs8 (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

    #include <memory>
    #include <optional>
    #include <string>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "absl/types/span.h"
    #include "flatbuffers/flatbuffer_builder.h"  // from @flatbuffers
    #include "llvm/Support/Casting.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc

          ParseSavedObjectGraph(kCycleBetweenParentAndChild);
      absl::optional<int> foo = internal::FindNodeAtPath("foo", object_graph);
      ASSERT_TRUE(foo.has_value());
      EXPECT_EQ(*foo, 1);
    
      absl::optional<int> foo_bar =
          internal::FindNodeAtPath("foo.bar", object_graph);
      ASSERT_TRUE(foo_bar.has_value());
      EXPECT_EQ(*foo_bar, 3);
    
      absl::optional<int> foo_bar_parent =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 20:15:34 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/BUILD

            "@com_google_absl//absl/algorithm:container",
            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_absl//absl/log",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/status:statusor",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/types:span",
            "@llvm-project//llvm:Support",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

        if (std::optional<absl::string_view> maybe_cluster =
                GetXlaClusterForNode(*n)) {
          maybe_cluster->remove_prefix(absl::string_view("cluster_").size());
          TF_RET_CHECK(absl::SimpleAtoi(*maybe_cluster, &cluster));
          clustered_nodes++;
        }
        clusters[cluster][n->type_string()]++;
        cluster_size[cluster]++;
      }
    
      string result =
          absl::StrCat("Clustered nodes: ", clustered_nodes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/BUILD

            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "@com_google_absl//absl/algorithm:container",
            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/log",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/strings",
            "@llvm-project//llvm:Support",
            "@llvm-project//mlir:FuncDialect",
            "@llvm-project//mlir:IR",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 17:50:14 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.h

    // Function used by the pywrap_quantization module to mirror
    // `::mlir::quant::stablehlo::QuantizeStaticRangePtq`.
    absl::Status PywrapQuantizeStaticRangePtq(
        absl::string_view src_saved_model_path,
        absl::string_view dst_saved_model_path, const QuantizationConfig& config,
        const std::vector<std::string>& signature_keys,
        const absl::flat_hash_map<std::string, tensorflow::SignatureDef>&
            signature_def_map,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 13:51:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

      }
      return module_or;
    }
    
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
        llvm::StringRef input, absl::string_view input_arrays,
        absl::string_view input_dtypes, absl::string_view input_shapes,
        absl::string_view output_arrays, absl::string_view control_output_arrays,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

      for (const char c : lhs_batch_dims) {
        absl::StrAppend(&out_eq, std::string(1, c));
      }
      for (const char c : lhs_eq) {
        if (!absl::StrContains(out_eq, c) && !absl::StrContains(rhs_eq, c)) {
          absl::StrAppend(&out_eq, std::string(1, c));
        }
      }
      for (const char c : rhs_eq) {
        if (!absl::StrContains(out_eq, c) && !absl::StrContains(lhs_eq, c)) {
          absl::StrAppend(&out_eq, std::string(1, c));
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/runtime_test.cc

      float out_val[1];
      TF_ASSERT_OK(result_tensor.GetValue(absl::MakeSpan(out_val)));
      EXPECT_EQ(out_val[0], 5.0f);
    }
    
    TEST_P(RuntimeTest, CreateHostTensorIncompatibleShape) {
      Runtime runtime = RuntimeTest::GetParam()();
      EXPECT_THAT(runtime.CreateHostTensor<float>({2}, TF_FLOAT, {2.0f}),
                  StatusIs(absl::StatusCode::kInvalidArgument,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 09 12:27:54 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/bundle_v2.cc

        return absl::Status(
            absl::StatusCode::kFailedPrecondition,
            "SavedModel checkpoint object graph was not the correct type.");
      }
    
      const tstring* object_graph_string = reinterpret_cast<const tstring*>(
          object_graph_tensor.tensor_data().data());
      if (!object_graph->ParseFromString(*object_graph_string)) {
        return absl::Status(
            absl::StatusCode::kFailedPrecondition,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top