Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 458 for tensor_b (0.25 sec)

  1. tensorflow/c/tf_tensor.h

    TF_CAPI_EXPORT extern TF_Tensor* TF_TensorMaybeMove(TF_Tensor* tensor);
    
    // Destroy a tensor.
    TF_CAPI_EXPORT extern void TF_DeleteTensor(TF_Tensor*);
    
    // Return the type of a tensor element.
    TF_CAPI_EXPORT extern TF_DataType TF_TensorType(const TF_Tensor*);
    
    // Set a new shape for the Tensor.
    TF_CAPI_EXPORT extern void TF_SetShape(TF_Tensor* tensor, const int64_t* dims,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 16:40:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        [Pure, CoreRT_TypedAttributeTrait,
         TFRT_CostFunctionInterface, TFRT_FixedCost<1>]> {
      let summary = "Create a tensorflow tensor from serialized tensor proto";
    
      let description = [{
        Create a tensorflow tensor from serilaized tensor proto.
    
        Example:
          %tensor = tfrt_fallback_async.const_tensor_proto "<serialized proto content>"
      }];
    
      let arguments = (ins
        StrAttr:$serialized_tensor_proto
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

      );
    
      let results = (outs
        TensorOf<[TF_Float32]>:$output,
        TensorOf<[TF_Float32]>:$min,
        TensorOf<[TF_Float32]>:$max,
        TensorOf<[TF_Int64]>:$histogram
      );
    }
    
    def TF_CalibrationStatisticsSaverOp : TF_Op<"CalibrationStatisticsSaver", []> {
      let summary = "Aggregates and saves calibration statistics.";
    
      let arguments = (ins
        Variadic<TensorOf<[TF_Float32, TF_Int64]>>:$inputs,
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/deduplicate_const.mlir

    func.func @sub(%arg0: tensor<3x2xf32>) -> tensor<3x2xf32> attributes {tf.entry_function = {inputs = "serving_default_x", outputs = "outputs"}} {
      %0 = "tfl.pseudo_const" () {value = dense<[[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]]> : tensor<3x2xf32>} : () -> tensor<3x2xf32>
      %1 = "tfl.sub" (%0, %arg0) {fused_activation_function = "NONE"} : (tensor<3x2xf32>, tensor<3x2xf32>) -> tensor<3x2xf32>
      func.return %1 : tensor<3x2xf32>
    }
    }
    
    // CHECK:      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_const.mlir

     func.func @main () -> tensor<1x1x1x96xf32> {
      %0 = "vhlo.constant_v1"() <{value = #vhlo.tensor_v1<dense<0.000000e+00> : tensor<f32>>}> : () -> tensor<1x1x1x96xf32>
      func.return %0 : tensor<1x1x1x96xf32>
     }
    }
    
    //CHECK: func.func @main() -> tensor<1x1x1x96xf32> attributes {tf.entry_function = {outputs = "vhlo.constant_v1"}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 833 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

        oneof name_oneof {
          string name = 1;
    
          // An regex can be used to match multiple tensors.
          string name_regex = 2;
        }
    
        // The quantization parameters for the tensor. If it is for per-axis, the
        // parameters should be defined for each axis, otherwise, if it is for
        // per-tensor, this repeated field should only contain a single element.
        repeated PerAxisParams params = 3;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_tensor.h

      // Create a DeviceMemoryBase from a Tensor. The Tensor can be an XlaTensor, in
      // which case the returned value is shaped_buffer()->root_buffer(), or a
      // normal Tensor in which case the returned value is
      // {tensor.tensor_data().data(), tensor.tensor_data().size}.
      static se::DeviceMemoryBase DeviceMemoryFromTensor(const Tensor& tensor);
    
      // Assign the internal ShapedBuffer to new memory for the given dtype and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. tensorflow/cc/experimental/libtf/function.cc

          if (value.type() != TaggedValue::Type::TENSOR) {
            return false;
          }
          auto spec = signature.tensor_spec();
          const auto& tensor = value.tensor();
          if (tensor->DataType() != spec.dtype) {
            return false;
          }
          tensorflow::PartialTensorShape tensor_shape;
          DCHECK(tensor->Shape(&tensor_shape).ok());
          if (!tensor_shape.IsCompatibleWith(spec.shape)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 04 19:49:06 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      if (VLOG_IS_ON(1) && status->status.ok()) {
        tensorflow::Tensor tensor;
        if (tensorflow::TF_TensorToTensor(ret, &tensor).ok()) {
          VLOG(1) << "Dequeued tensor content: " << tensor.DebugString();
        }
      }
      return ret;
    }
    
    void TF_EnqueueNamedTensor(TF_Session* session, int tensor_id,
                               TF_Tensor* tensor, TF_Status* status) {
      assert(session);
      {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/tensor-list.pbtxt

    # CHECK:  tf.TensorListReserve{{.*}}(tensor<2xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xf32>>>
    
    # Nested variant type.
    # CHECK:  tf.TensorListReserve{{.*}}(tensor<2xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*x!tf_type.variant>>>
    
    # CHECK:  tf.TensorListSetItem{{.*}}(tensor<!tf_type.variant<tensor<*xf32>>>, tensor<i32>, tensor<2x2xf32>) -> tensor<*x!tf_type.variant>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 3.6K bytes
    - Viewed (0)
Back to top