Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 233 for tensor_shape (0.25 sec)

  1. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

    TEST_F(PjRtExecutionUtilGpuTest, PreparePjRtExecutableArguments) {
      std::vector<const Tensor*> inputs;
      inputs.push_back(CreateDeviceTensor<int32_t>(TensorShape({1, 3}), {0, 0, 0}));
      inputs.push_back(CreateDeviceTensor<int32_t>(TensorShape({1, 3}), {1, 2, 3}));
      inputs.push_back(CreateDeviceTensor<int32_t>(TensorShape({1, 3}), {4, 5, 6}));
      int num_missing_prefix_ctx_inputs = 2;
      std::vector<int> input_mapping{3, 4};
      std::vector<VariableInfo> variables;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

    #include "xla/client/client_library.h"
    #include "xla/shape.h"
    #include "xla/stream_executor/platform.h"
    #include "xla/stream_executor/platform_manager.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/unified_api_testutil.cc

    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    
    namespace tensorflow {
    
    AbstractContext* BuildFunction(const char* fn_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_internal.h

    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/status.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/unified_api_test.cc

    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace {
    class UnifiedAPI
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_compiler_options_util_test.cc

    GetShapeDeterminationFns() {
      XlaHelpers::ShapeRepresentationFn shape_representation_fn =
          [](const TensorShape&, DataType, bool, XlaLayoutPreference) {
            return xla::Shape();
          };
      XlaShapeLayoutHelpers::LayoutPreferenceFn layout_preference_fn =
          [](const TensorShape&, DataType, std::optional<XlaArgument::Kind>) {
            return tensorflow::XlaLayoutPreference::kTpuPreferLinearLayout;
          };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 29 01:41:20 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

    #include <optional>
    #include <string>
    
    #include "absl/container/flat_hash_set.h"
    #include "llvm/ADT/MapVector.h"
    #include "llvm/ADT/StringMap.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/core/status.h"
    
    namespace tensorflow {
    
    struct ArrayInfoBase {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

    namespace {
    absl::StatusOr<bool> IsConstantSmall(Node* n) {
      const TensorProto* proto = nullptr;
      TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "value", &proto));
    
      int64_t total_elements = 1;
      for (const auto& dim : proto->tensor_shape().dim()) {
        if (dim.size() < 0) {
          return errors::Internal("Unknown dimension size in constant tensor ",
                                  n->name());
        }
        total_elements *= dim.size();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/shape_inference_test.cc

      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      TF_CHECK_OK(root.ToGraph(graph.get()));
    
      std::map<int, InferredShape> arg_shapes;
      arg_shapes[0].shape = TensorShape({2, 3});
      arg_shapes[1].shape = TensorShape({2, 3});
    
      GraphShapeInfo shape_info;
      TF_ASSERT_OK(InferShapes(graph.get(), arg_shapes,
                               /*fnlib_def=*/nullptr, &shape_info));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

    #include "tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_type.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    #include "tsl/platform/errors.h"
    #include "tfrt/bef_converter/mlir_to_bef.h"  // from @tf_runtime
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top