Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bufferIndex (0.26 sec)

  1. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir

      func.return %0 : tensor<40x40xf32>
    
    // CHECK-LABEL: func @main(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>) -> tensor<40x40xf32>
    // CHECK:      %[[CONST:[0-9]+]] = "tfl.external_const"() <{buffer_index = 3 : i32}> : () -> tensor<40xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          auto buffer_or =
              BuildBuffer(value, not_returned_by_subgraph, buffer_index);
          if (!buffer_or) return false;
          buffers_.push_back(*buffer_or);
        } else {
          buffers_.push_back(empty_buffer_);
        }
    
        auto tensor_or =
            BuildTensor(value, tensor_name, buffer_index, quant_parameters);
        if (!tensor_or) return false;
        tensors.push_back(*tensor_or);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      }
      return mlir::GetMlirOpNameFromOpCode(op_code);
    }
    
    StatusOr<Operation*> BuildExternalConstOp(const tflite::TensorT& tensor,
                                              int32_t buffer_index,
                                              OpBuilder builder, Location loc) {
      TF_ASSIGN_OR_RETURN(mlir::TensorType type,
                          tfl::GetTensorType(tensor, builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> {
      let summary = "External const op.";
    
      let description = [{
        External const op holds a `buffer_index` which points to a constant
        in the flatbuffer.
      }];
    
      let arguments = (ins I32Attr:$buffer_index);
    
      let results = (outs AnyTensor:$output);
    }
    
    def TFL_Conv2DOp : TFL_ConvOp<"conv_2d", "Convolution", 0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top