Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for buildKey (0.16 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      }
    
      // Otherwise, build a new concatenation op with non-empty values.
      mlir::OpBuilder builder(getOperation());
      auto new_concat = builder.create<TFL::ConcatenationOp>(
          getLoc(), getType(), non_empty_values,
          builder.getIntegerAttr(builder.getIntegerType(32), getAxis()),
          builder.getStringAttr(getFusedActivationFunction()));
      return new_concat.getResult();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          op.getOperation());
    }
    
    void NotEqualOp::build(OpBuilder &builder, OperationState &result, Value x,
                           Value y, BoolAttr incompatible_shape_error) {
      auto result_type = DeduceEqualCmpOpType(&builder, result.location, x, y,
                                              incompatible_shape_error);
      return build(builder, result, result_type, x, y, incompatible_shape_error);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          op.getOperation());
    }
    
    void EqualOp::build(OpBuilder& builder, OperationState& result, Value x,
                        Value y, BoolAttr incompatible_shape_error) {
      auto result_type = DeduceEqualCmpOpType(&builder, result.location, x, y,
                                              incompatible_shape_error);
      return build(builder, result, result_type, x, y, incompatible_shape_error);
    }
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        checkNotNull(valueFunction);
        ImmutableMap.Builder<K, V> builder = ImmutableMap.builder();
        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

        checkNotNull(valueFunction);
        ImmutableMap.Builder<K, V> builder = ImmutableMap.builder();
        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/gateway_test.go

    			if tt.node.Metadata != nil {
    				proxy.Metadata = tt.node.Metadata
    			} else {
    				proxy.Metadata = &proxyGatewayMetadata
    			}
    
    			builder := cg.ConfigGen.buildGatewayListeners(NewListenerBuilder(proxy, cg.PushContext()))
    			listeners := xdstest.ExtractListenerNames(builder.gatewayListeners)
    			sort.Strings(listeners)
    			sort.Strings(tt.expectedListeners)
    			if !reflect.DeepEqual(listeners, tt.expectedListeners) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      bool log_if_failed = op.getLogIfFailed();
      auto fbb = std::make_unique<flexbuffers::Builder>();
      fbb->Map([&]() {
        fbb->Float("tolerance", tolerance);
        fbb->Bool("log_if_failed", log_if_failed);
      });
      fbb->Finish();
      auto f = std::unique_ptr<flexbuffers::Builder>(fbb.release());
      auto custom_option = f->GetBuffer();
      auto opcode_index =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

    TEST(EncapsulateSubgraphsTest, NoFunctions) {
      GraphDefBuilder builder(GraphDefBuilder::kFailImmediately);
    
      Node* a = Input(builder.opts().WithName("A"));
      Node* b = Input(builder.opts().WithName("B"));
      Node* c = Unary(a, builder.opts().WithName("C"));
      Binary(b, c, builder.opts().WithName("D"));
    
      GraphDef graphdef_in;
      FunctionDefLibrary library_in;
      TF_EXPECT_OK(builder.ToGraphDef(&graphdef_in));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

        const string& xla_cluster_name, Graph* g) {
      NodeDef key_def;
      NodeDefBuilder builder(absl::StrCat(xla_cluster_name, "_key_placeholder"),
                             "Placeholder");
      builder.Attr("dtype", DT_STRING);
      builder.Attr("shape", PartialTensorShape({2}));
      builder.Attr("_host_compute_call_node", xla_cluster_name);
      Status s = builder.Finalize(&key_def);
      if (!s.ok()) return s;
    
      Node* n = g->AddNode(key_def, &s);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    requiresFactory,
                    propertiesToAttachAtConstruction,
                    propertiesToAttachOnDemand,
                    ineligibleProperties
                );
                builder.startClass();
                return builder;
            }
        }
    
        @NonNullApi
        private static class ClassBuilderImpl extends ClassVisitorScope implements ClassGenerationVisitor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
Back to top