Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for set_kind (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        arg->set_dtype(dtype);
        // TODO(lyandy): Support other arg kinds.
        if (dtype == tensorflow::DT_RESOURCE)
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::VARIABLE);
        else
          arg->set_kind(tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
    
        // Populate argument shapes.
        *arg->mutable_shape() = tensorflow::TensorShapeProto();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

        arg_shapes.emplace_back(tensor_shape);
    
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype));
    
        auto metadata_arg = metadata_proto.add_args();
        metadata_arg->set_kind(tpu::TPUCompileMetadataProto::Arg::PARAMETER);
        metadata_arg->set_dtype(dtype);
      }
    
      return absl::OkStatus();
    }
    
    absl::Status SetupReturnValues(mlir::ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      std::vector<TensorShape> arg_shapes = {{1}};
      TPUCompileMetadataProto metadata_proto;
      auto arg = metadata_proto.add_args();
      arg->set_dtype(DataType::DT_FLOAT);
      arg->set_kind(TPUCompileMetadataProto::Arg::PARAMETER);
      metadata_proto.add_retvals();
      bool use_tuple_args = true;
      std::vector<ShardingAndIndex> arg_core_mapping;
      std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        // Set up an arg per arg_shape with the specified type.
        for (int i = 0; i < arg_shapes.size(); ++i) {
          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. samples/kind-lb/setupkind.sh

    jacob-delgado <******@****.***> 1696273699 -0600
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/AccessRule.java

            this.kind = Preconditions.checkNotNull(kind);
            this.pattern = Preconditions.checkNotNull(pattern);
        }
    
        public String getKind() {
            return kind;
        }
    
        public void setKind(String kind) {
            this.kind = kind;
        }
    
        public String getPattern() {
            return pattern;
        }
    
        public void setPattern(String pattern) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/JavadocUtils.java

            String callableNameForDocComment = interceptedCallable.getKind() == CallableKindInfo.AFTER_CONSTRUCTOR ? className.simpleName() : interceptedCallable.getCallableName();
            List<ParameterInfo> params = request.getInterceptedCallable().getParameters();
            List<ParameterInfo> methodParameters = params.stream().filter(parameter -> parameter.getKind().isSourceParameter()).collect(Collectors.toList());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

            }
        }
    
        private static boolean hasGroovyPropertyRequests(List<CallInterceptionRequest> requests) {
            return requests.stream().anyMatch(it -> it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_GETTER || it.getInterceptedCallable().getKind() == GROOVY_PROPERTY_SETTER);
        }
    
        @SuppressWarnings("ReturnValueIgnored")
        private static CodeBlock interceptorClassJavadoc(Collection<CallInterceptionRequest> requests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

            CodeBlock result = interceptedCallable.getKind() == CallableKindInfo.STATIC_METHOD ? CodeBlock.of("opcode == $T.INVOKESTATIC", Opcodes.class) :
                interceptedCallable.getKind() == CallableKindInfo.INSTANCE_METHOD ? CodeBlock.of("(opcode == $1T.INVOKEVIRTUAL || opcode == $1T.INVOKEINTERFACE)", Opcodes.class) :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. samples/kind-lb/README.md

    For example, to create two clusters, run the script two times with the following
    parameters:
    
    ```bash
      ./setupkind.sh --cluster-name cluster1 --ip-space 255 -i dual
      ./setupkind.sh --cluster-name cluster2 --ip-space 245 -i dual
    ```
    
    To setup a dual-stack cluster that prefers IPv6 instead of IPv4 (the default)
    
    ```bash
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top