Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for return_values (0.16 sec)

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

      // Function return values are all the terminator operands + pass through
      // extern values (if enabled).
      auto return_values = llvm::to_vector<4>(terminator->getOperands());
      if (only_one_return_value) {
        return_values.resize(1);
      }
      if (extern_values_passthrough)
        return_values.insert(return_values.end(),
                             first_block.args_begin() + num_region_arguments,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

      llvm::SetVector<Value> return_values;
      llvm::SmallVector<Type> return_types;
    
      for (Operation *op : cluster.operations)
        for (OpOperand &use : op->getUses()) {
          // User is inside the cluster.
          if (in_cluster.contains(use.getOwner())) continue;
          // Do not return the same value multiple times.
          if (return_values.contains(use.get())) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
      for (Operation* op : cloning_ops) {
        builder.clone(*op, mapping);
      }
    
      SmallVector<Value> return_values;
      for (Value result : results) {
        return_values.push_back(mapping.lookupOrNull(result));
      }
      builder.create<func::ReturnOp>(location, return_values);
    
      // Create a function call to the newly created function.
      StringAttr new_func_name =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

            tensorflow::XlaExpression::CastExpressionFromTensor(*output);
        output_values.push_back(expr->AsXlaOp(&xla_builder_));
      }
    
      absl::Span<const xla::XlaOp> return_values(output_values);
      xla::XlaOp root_value = xla::Tuple(&xla_builder_, return_values);
    
      TF_ASSIGN_OR_RETURN(XlaComputation computation,
                          xla_builder_.Build(root_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/return_value.txt

    Kristoffer Andersen <******@****.***> 1659368814 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 62 bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/return_value.kt

    Kristoffer Andersen <******@****.***> 1659368814 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 05 15:06:52 UTC 2022
    - 55 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        String result =
            timeLimiter.callWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, TimeUnit.MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
        ExecutionException e =
            assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        String result =
            timeLimiter.callWithTimeout(
                Callables.returning(RETURN_VALUE), DELAY_MS, TimeUnit.MILLISECONDS);
    
        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testCallWithTimeout_wrapsCheckedException() throws Exception {
        Exception exception = new SampleCheckedException();
        ExecutionException e =
            assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          b.create<SelectOp>(index_type, compare_dt, lhs_index, rhs_index);
      Value selected_index =
          b.create<SelectOp>(index_type, compare_eq, min_index, min_val_index);
    
      Value return_values[] = {selected_input, selected_index};
      b.create<ReturnOp>(return_values);
    }
    
    //===----------------------------------------------------------------------===//
    // PartitionedCall op utilities.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-control-dep.pbtxt

      op: "foo"
      input: "Constant"
    }
    library {
      function {
        signature {
          name: "foo"
          input_arg {
            name: "arg"
            type: DT_INT32
          }
          output_arg {
            name: "return_value"
            type: DT_INT32
          }
        }
        # Drop the control dependency on arg for the node "test"
        # CHECK-LABEL: func private @foo
        # CHECK: tf_executor.island wraps "tf.Const"()
        node_def {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top