Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 57 of 57 for tensor_shape (0.17 sec)

  1. 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)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

      if (!executable && !pjrt_executable) {
        DCHECK(!must_compile_);
        Tensor compilation_key(cpu_allocator, DT_STRING, TensorShape({}));
        Tensor compilation_successful(cpu_allocator, DT_BOOL, TensorShape({}));
        compilation_successful.scalar<bool>()() = false;
        ctx->set_output(0, compilation_key);
        ctx->set_output(1, compilation_successful);
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc

      } else {
        TF_RETURN_IF_ERROR(ConvertScalarTypeToDataType(type, dtype));
      }
      return absl::OkStatus();
    }
    
    void ConvertToMlirShape(const TensorShape& input_shape,
                            llvm::SmallVectorImpl<int64_t>* shape) {
      shape->reserve(input_shape.dims());
      for (const auto& d : input_shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tensorflow/c/kernels_experimental.cc

                                                    int64_t* dims, size_t num_dims,
                                                    TF_Status* status) {
      ::tensorflow::TensorShape shape;
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      ::tensorflow::Status s = cc_ctx->GetAttr(attr_name, &shape);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tpu_device.cc

    // the TPU device? This function tranposes or flattens the excessively-padded
    // tensors to rank 1, but leaves other tensor shapes alone.
    absl::StatusOr<xla::Shape> TpuShapeRepresentation(
        const TensorShape& shape, DataType type, bool use_fast_memory,
        XlaLayoutPreference layout_preference) {
      xla::Shape xla_shape;
      TF_RETURN_IF_ERROR(
          tensorflow::TensorShapeToXLAShape(type, shape, &xla_shape));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. 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)
  7. 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