Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for set_kind (0.19 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. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go

    }
    
    func (u *UnstructuredList) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *UnstructuredList) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *UnstructuredList) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *UnstructuredList) GetResourceVersion() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 04:46:35 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go

    }
    
    func (u *Unstructured) SetAPIVersion(version string) {
    	u.setNestedField(version, "apiVersion")
    }
    
    func (u *Unstructured) GetKind() string {
    	return getNestedString(u.Object, "kind")
    }
    
    func (u *Unstructured) SetKind(kind string) {
    	u.setNestedField(kind, "kind")
    }
    
    func (u *Unstructured) GetNamespace() string {
    	return getNestedString(u.Object, "metadata", "namespace")
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top