Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for return_values (0.25 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. 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)
  6. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

                                        custom_legalization_passes));
    
      xla::XlaOp return_value;
      if (returns.size() == 1)
        return_value = returns[0];
      else
        return_value = xla::Tuple(&builder, returns);
    
      TF_ASSIGN_OR_RETURN(
          xla::XlaComputation computation,
          return_value.valid() ? builder.Build(return_value) : builder.Build());
      auto hlo_module = computation.proto();
      xla::HloProto hlo_proto;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ConventionAwareHelper.java

                    useMapping = false;
                }
                if (useMapping) {
                    returnValue = Cast.uncheckedNonnullCast(_mappings.get(propertyName).getValue(_convention, _source));
                }
            }
            return returnValue;
        }
    
        @Deprecated
        @Override
        public org.gradle.api.plugins.Convention getConvention() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

                    return;
                }
    
                Object returnValue;
                try {
                    returnValue = targetMethod.invoke(invocation.getDelegate(), invocation.getParameters());
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
    
                invocation.setResult(returnValue);
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
Back to top