Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for new_shape (0.34 sec)

  1. tensorflow/compiler/jit/xla_tpu_device.cc

      TF_RETURN_IF_ERROR(
          tensorflow::TensorShapeToXLAShape(type, shape, &xla_shape));
      ApiConverter::StackHelper<XLA_Shape> se_shape(xla_shape);
      ApiConverter::StackHelper<XLA_Shape> tpu_shape;
      StatusHelper status;
      stream_executor::tpu::ExecutorApiFn()->XlaShapeToTpuShapeRepresentationFn(
          &se_shape.value, type, use_fast_memory, &tpu_shape.value,
          status.c_status);
      if (!status.status().ok()) {
        return status.status();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

          OperationState new_state(quantizing_op->getLoc(),
                                   quantizing_op->getName().getStringRef(), inputs,
                                   output_types, quantizing_op->getAttrs());
          for (int i = 0; i < quantizing_op->getNumRegions(); ++i) {
            new_state.addRegion();
          }
          Operation* quantized_op = rewriter.create(new_state);
          if (quantizing_op->getNumRegions() != 0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

          OperationState new_state(op_with_region->getLoc(),
                                   op_with_region->getName().getStringRef(), inputs,
                                   output_types, op_with_region->getAttrs());
          for (int i = 0; i < op_with_region->getNumRegions(); ++i) {
            new_state.addRegion();
          }
          Operation* quantized_op = rewriter.create(new_state);
          for (const auto& [index, region] :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      Location loc = call_op.getLoc();
      rewriter.setInsertionPointAfter(call_op);
      std::string tf_op_name = GetTFOpName(call_op.getCallee());
      OperationState new_state(loc, tf_op_name, inputs, output_types, attr_list);
      Operation* new_op = rewriter.create(new_state);
      if (materialize_derived_attrs_) {
        for (const auto& attr : derived_attrs) {
          // Add or update the derived attribute with the value. Skip the fixed
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. tensorflow/c/tf_tensor.cc

    }
    
    void TensorInterface::SetShape(const int64_t* dims, int num_dims) {
      tensorflow::TensorShape s;
      for (int i = 0; i < num_dims; ++i) {
        s.AddDim(dims[i]);
      }
      tensor_.set_shape(s);
    }
    
    Status TensorInterface::BitcastFrom(const TensorInterface& from, DataType type,
                                        const int64_t* new_dims, int num_new_dims) {
      tensorflow::TensorShape s;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. RELEASE.md

            Please use input_signature or reduce_retracing to minimize retracing.
    
    *   `tf.SparseTensor`:
        *   Introduced `set_shape`, which sets the static dense shape of the sparse tensor and has the same semantics as `tf.Tensor.set_shape`.
    
    ## Security
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top