Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,404 for tensor2 (0.19 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/while_op.mlir

        "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> ()
      }) {is_stateless = false} : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>, tensor<1xf32>)
      func.return %0#1 : tensor<1xf32>
    }
    
    func.func @cond(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> tensor<i1> {
      %cst = arith.constant dense<0> : tensor<i32> loc("Const")
      %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/dynamic_shape_constant.mlir

    func.func @main(%arg0: tensor<2xi32>) -> tensor<2xi32> {
      %cst = "tfl.pseudo_const"() {value = dense<[1, 2]> : tensor<2xi32>} : () -> tensor<?xi32>
      %0 = "tfl.add"(%arg0, %cst) {fused_activation_function = "NONE"} : (tensor<2xi32>, tensor<?xi32>) -> tensor<2xi32>
      func.return %0 : tensor<2xi32>
    }
    
    
    // CHECK:    tensors: [ {
    // CHECK-NEXT:      shape: [ 2 ],
    // CHECK-NEXT:      type: INT32,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 810 bytes
    - Viewed (0)
  4. tensorflow/c/eager/gradients.h

                           const string& op_name = "");
      // Returns whether any tensor in a list of tensors is being watched and has
      // a trainable dtype.
      bool ShouldRecord(
          absl::Span<const AbstractTensorHandle* const> tensors) const;
      // Unwatches this tensor on the tape. Mainly used for cleanup when deleting
      // eager tensors.
      void DeleteTrace(const AbstractTensorHandle*);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 10:27:05 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    //
    // Conditions for `tfl.fully_connected` conversion:
    //   * Input tensors are per-tensor uniform quantized (i8->f32)
    //     tensors.
    //   * The filter tensor is constant a per-tensor uniform quantized (i8->f32)
    //     tensor. The quantization dimension should be 1 (the non-contracting
    //     dimension).
    //   * Output tensors are per-tensor uniform quantized (i8->f32) or
    //     per-channel uniform quantized (i32->f32) tensors.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

        }
    
        tensors.emplace_back(
            device_->GetAllocator(tensorflow::AllocatorAttributes()), expr.dtype(),
            shape_or.value());
    
        tensorflow::Tensor& tensor = tensors.back();
        tensorflow::XlaExpression::AssignExpressionToTensor(expr, &tensor);
        inputs.emplace_back(&tensor);
      }
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/variant_type_on_func.mlir

    // CHECK-NEXT:    buffer: 2
    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  signature_defs: [  ]
    // CHECK-NEXT: }
    func.func @main(%arg0 : tensor<!tf_type.variant<tensor<2xi32>>>) -> tensor<!tf_type.variant<tensor<2xi32>>> {
      func.return %arg0 : tensor<!tf_type.variant<tensor<2xi32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 16 20:36:14 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

        std::vector<TFE_TensorHandle*> result;
        result.reserve(tensors_.size());
        for (const TensorHandlePtr& tensor : tensors_) {
          result.emplace_back(tensor.get());
        }
        return result;
      }
    
     private:
      ParallelTensor(const ParallelDevice& device,
                     std::vector<TensorHandlePtr> tensors,
                     absl::Span<const int64_t> shape, const TF_DataType dtype)
          : device_(device),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 25 15:21:13 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

      // FB-NEXT:       } ],
    
      // CHECK-LABEL: func @main(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>)
      // CHECK-SAME:      -> tensor<40x40xf32>
      // CHECK:         %[[stat:.*]] = "quantfork.stats"(%arg0) <{layerStats = dense
      // CHECK-SAME:      <[-1.000000e+00, 1.000000e+00]> : tensor<2xf32>}>
      // CHECK-SAME:      : (tensor<40x37xf32>) -> tensor<40x37xf32>
      // CHECK-NEXT:    %[[cst:.*]] = "tfl.pseudo_const"() <{value = dense<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top