Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for tensor_shape (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

      for (auto input_type : func_type.getInputs()) {
        tensorflow::TensorShape tensor_shape;
        xla::Shape xla_shape = xla::TypeToShape(input_type);
        TF_RETURN_IF_ERROR(tensorflow::TensorShape::BuildTensorShape(
            xla_shape.dimensions(), &tensor_shape));
        arg_shapes.emplace_back(tensor_shape);
    
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    #include "xla/shape.h"
    #include "xla/shape_util.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/op.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/versions.pb.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    #include "tensorflow/core/lib/monitoring/sampler.h"
    #include "tensorflow/core/platform/errors.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    template <typename T, int num_dims>
    tensorflow::TensorShape ToTensorShape(llvm::ArrayRef<T> sizes) {
      return tensorflow::TensorShape(
          llvm::SmallVector<int64_t, num_dims>(sizes.begin(), sizes.end()));
    }
    
    template <typename T, int num_dims>
    tensorflow::TensorShape ToTensorShape(
        llvm::iterator_range<DenseElementsAttr::ElementIterator<T>> sizes) {
      return tensorflow::TensorShape(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      se::Platform* platform =
          se::PlatformManager::PlatformWithName("Host").value();
      auto client =
          xla::ClientLibrary::GetOrCreateCompileOnlyClient(platform).value();
    
      std::vector<TensorShape> arg_shapes;
      TPUCompileMetadataProto metadata_proto;
      // Configure metadata requires parsing the module and if we are testing a
      // failure, we ignore this particular set up error assuming we'll not get
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. RELEASE.md

        *   `status.h` -> `../lib/core/status.h`
        *   `tensor.h` -> `../framework/tensor.h`
        *   `tensor_shape.h` -> `../framework/tensor_shape.h`
        *   `partial_tensor_shape.h` -> `../framework/partial_tensor_shape.h`
        *   `tensorflow_server.h` deleted
    *   For C++ API users: `TensorShape::ShortDebugString` has been renamed to
        `DebugString`, and the previous `DebugString` behavior is gone (it was
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        // creating the tf.Pack op. tf.Pack op requires at least one operand.
        if (tensors.empty()) {
          tensorflow::Tensor tensor(list->element_dtype,
                                    tensorflow::TensorShape(result_shape));
          auto attr_or = tensorflow::ConvertTensor(tensor, &rewriter);
          if (!attr_or.ok()) return failure();
          rewriter.replaceOpWithNewOp<TF::ConstOp>(op, attr_or.value());
          return success();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top