Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 458 for tensor_b (0.17 sec)

  1. tensorflow/c/tf_tensor_internal.h

      Status ToTensor(tensorflow::Tensor* dst) const;
      Status BitcastFrom(const TensorInterface& from, DataType type,
                         const int64_t* new_dims, int num_new_dims);
      Status FromProto(const tensorflow::TensorProto& from);
    
      tensorflow::Tensor& Tensor() { return tensor_; }
    
     private:
      tensorflow::Tensor tensor_;
    };
    
    inline Tensor& TensorFromInterface(AbstractTensorInterface* tensor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.td

        (OpsTuple[0]
          $input,
          (OpsTuple[2] $zp_offset, $bias, $broadcast_dims_2), $broadcast_dims_1),
        [
          (IsNull $broadcast_dims_1),
          (IsNull $broadcast_dims_2),
          (TensorOf<[AnyInteger]> $input),
          (IsDefinedByConvOrDotGeneralOp $input)]>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

        base_offset *= dimension;
      }
    
      return contiguous_offset;
    }
    
    // Performs transposition of a tensor represented as a contiguous element array.
    // Assumes row-major order. The shape of the input tensor and the desired
    // permutation is registered during construction, and calling `TransposeValues`
    // returns the transposed tensor values.
    class DenseElementsTransposer {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

      let summary = "Loads a restored variable tensor as a tensor future";
    
      let description = [{
        This op loads a restored variable tensor as a tensor future. It is a
        replacement of `tf.ReadVariableOp`.
    
        This op returns a scalar string tensor containing the restored variable name, which 
        is composed from `container_name` and `shared_name` from a `var_handle` and can be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.proto

      // not applied regardless of the op support. Currently, it is supported for
      // XLA opset for SRQ on weight tensors (not activation),
      // and Uniform Quantized opset .
      optional bool enable_per_channel_quantization = 10;
    
      // Enables two inputs of an operation to be both tensors.
      // Currently supports MatMul and BatchMatMul ops for XLA.
      // TODO(b/263528090): Check the condition when this feature is beneficial.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 06:31:19 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    func.func @uniform_dequantize_op(%arg: tensor<2x2x!quant.uniform<i8:f32, 1.000000e+0:8>>) -> tensor<2x2xf32> {
      %0 = stablehlo.uniform_dequantize %arg : (tensor<2x2x!quant.uniform<i8:f32, 1.000000e+0:8>>) -> tensor<2x2xf32>
      return %0 : tensor<2x2xf32>
    }
    // CHECK-LABEL: uniform_dequantize_op
    // CHECK: %[[DEQUANT:.+]] = "tfl.dequantize"({{.*}}) : (tensor<2x2x!quant.uniform<i8:f32, 1.000000e+00:8>>) -> tensor<2x2xf32>
    // CHECK: return %[[DEQUANT]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/prepare_patterns.td

      (TF_CastOp
        (TF_AddV2Op
          (CreateTFCastOpI32 $lhs, /*truncate=*/ConstBoolAttrFalse),
          (CreateTFCastOpI32 $rhs, /*truncate=*/ConstBoolAttrFalse)),
         /*truncate=*/ConstBoolAttrFalse),
      [(TensorOf<[TF_Uint32]> $lhs), (TensorOf<[TF_Uint32]> $rhs)]>;
    
    //===----------------------------------------------------------------------===//
    // Fill op patterns.
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        The `value` attribute contains the tensor's value (or initial value, in the
        case it is mutable).
    
        The `type` attribute contains the tensor's type, which for the case of
        mutable tensors might be more general than just the fixed static shape of
        the `value` attribute. For example, a global tensor might be unranked such
        as `tensor<*xf32>`, or a more complex shape such as `tensor<4x?x27xf32>`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
      (TFL_TransposeConvOp $output_shape, $quant_weights,
        $quant_input, $bias, $padding, $stride_h, $stride_w, $faf), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/session_utils.h

                                            llvm::StringRef device_name,
                                            const tensorflow::DeviceMgr* mgr);
    
    // Returns resource tensors from session for all variables in 'module'.
    absl::StatusOr<std::vector<tensorflow::Tensor>> GetResourcesFromSession(
        llvm::ArrayRef<TF::VarHandleOp> var_handle_ops,
        tensorflow::Session* session);
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top