Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for output_index (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        for (const auto& entry : resource_arg_to_new_output) {
          int64_t resource_arg_index = entry.getFirst();
          int64_t output_index = entry.getSecond();
          new_retvals[output_index] = branch.getArgument(resource_arg_index);
        }
        auto old_return = branch.front().getTerminator();
        OpBuilder builder(old_return);
        auto new_return =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

              /*axis=*/0);
          for (auto index_item : llvm::zip(index_attr, items.getResults())) {
            int64_t output_index = std::get<0>(index_item).getSExtValue();
            Value item = std::get<1>(index_item);
            values[output_index] = item;
          }
        }
    
        rewriter.replaceOpWithNewOp<PackOp>(op, op.getType(), values);
        return success();
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

                  Eq(-128));
      const int output_idx = 4;
      EXPECT_THAT(subgraph->tensors[output_idx]->type, Eq(TensorType_INT8));
      EXPECT_THAT(subgraph->tensors[output_idx]->name, Eq("output"));
      EXPECT_THAT(subgraph->tensors[output_idx]->quantization->scale, SizeIs(1));
      EXPECT_THAT(subgraph->tensors[output_idx]->quantization->zero_point,
                  SizeIs(1));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
Back to top