Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for output_index (0.14 sec)

  1. tensorflow/compiler/jit/deadness_analysis_test.cc

    }
    
    void CreateSwitchN(const Scope& scope, Input data, Input output_index,
                       int64_t num_outs, OutputList* outputs) {
      if (!scope.ok()) return;
      auto _data = ops::AsNodeOut(scope, data);
      if (!scope.ok()) return;
      auto _output_index = ops::AsNodeOut(scope, output_index);
      if (!scope.ok()) return;
      Node* ret;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/c/kernels_test.cc

        int64_t output_dims[1] = {};
        TF_Tensor* output = TF_ForwardInputOrAllocateOutput(
            /*context=*/ctx, candidate_input_indices,
            /*num_candidate_input_indices=*/1,
            /*output_index=*/0, output_dims, /*output_num_dims=*/0,
            &forwarded_input, /*status=*/s);
        EXPECT_EQ(TF_OK, TF_GetCode(s));
        EXPECT_EQ(forwarded_input, 0);
        EXPECT_EQ(TF_FLOAT, TF_TensorType(output));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/deadness_analysis.cc

      // Sets the predicate for output `output_idx` of `n` to `pred`.  Sets the i'th
      // bit of `should_revisit` if `pred` is different from the current predicate
      // for the `output_idx` output of `n`.
      void SetPredicate(Node* n, int output_idx, Predicate* pred,
                        std::vector<bool>* should_revisit) {
        auto insert_result =
            predicate_map_.insert({TensorId(n->name(), output_idx), pred});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  6. 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